Originally posted by [b]Christian[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4362
QUOTE
*getitemslots(<item ID>)
This function will look up the item with the specified ID number in the database
and return the number of slots this kind of items has - 0 if they are not
slotted. It will also be 0 for all non-equippable items, naturally, unless
someone messed up the item database. It will return -1 if there is no such item.
and later
QUOTE
*getitemslots(<item id>)
Returns the amount of slots the item has.
Example(s):
//@slots now has the amount of slots of the item with ID 1205.
set @slots, getItemSlots(1205);