Skip to content

InvSlot

Object used to get information on a specific inventory slot.

Forms

invslot InvSlot[N]

Inventory slot by index N.

invslot InvSlot[SlotName]

Inventory slot matching SlotName.

Associated DataTypes

invslot

Data related to an inventory slot.

Members

int ID

ID of this item slot (usable directly by /itemnotify)

item Item

Item data for the item in this slot

string Name

For inventory slots not inside packs, the slot name, otherwise NULL

invslot Pack

Container that must be opened to access the slot with /itemnotify

int Slot

Slot number inside the pack which holds the item, otherwise NULL

string To String

Same as ID

Usage

See the datatype link for examples