Parseobj allows you to extract the elements of a string of text that describes an object.
syntax:
parseobj "string describing an object";
Variables created:
$qty1, $size1, $qty_type1, $attribs1, $material1, $class1, $name1, $extra1, $worth1, $code1, $colour1;
Its a strange set of variables.. not sure what $qty_type as meant to be now, and why there is $code I have no idea..and for some reason the $colour isnt working.. ah well.
Example:
$something = "an elephant which is happy worth 20 pennies";
parseobj $something;
print "$qty1 - $class1 - $name1 - $extra1 - $worth1";