Corpse¶
Access to objects of type corpse, which is the currently active corpse (ie. the one you are looting).
Forms¶
corpse Corpse¶
- Corpse you are looting.
Associated DataTypes¶
corpse¶
- Data related to the current lootable corpse. See Corpse.
-
Members
item
Item[N]¶- Nth item on the corpse
item
Item[name]¶- Finds an item by partial name in this corpse (use
=<name>for exact match)
int
Items¶- Number of items on the corpse
bool
Open¶- Corpse open?
string
To String¶- Same as Open
Usage¶
/if (${Corpse.Open}) {
/echo Corpse is open, proceeding with looting
}