<RetVar> = The command return will be stored in this variable.
<RefObj> = The object you wish to get the 'subtype' of.
Each ware or object belongs to a main and sub-category called maintype and subtype.
This instruction returns the 'subtype' of a particular object as entered in the command.
Example:
$target = get player tracking aim
skip if not $target
| $subtype = $target get subtype
This will return the 'subtype' of the current player target, if something is targeted.
Additional Information:
A list of Maintypes and their Subtypes can be found here.
Command Location:
- »» Trade Commands
<RetVar> = <RefObj> get subtype