GETSLOT(<item[:damage]>,<#slotid>,[startfromslotid])

Category
GUI
Added in
v0.9
Permission
mod.macros.script.inventory.getslot

Gets the id of the slot containing an item matching the specified item id

Returns the slot number

See also

Changelog