With the new 'Perks' option, there can now be 12 character inventory slots. Is there a way to know the number of inventory slots on a character?
${Me.Inventory[pack12].ID} returns the ID number of the item in slot 12, but it returns NULL if the slot does not exist OR if the slot exists but is empty.
Also, it used to be possible to determine the number of slots in a bag with item.Container, but this is no longer reliable.
If a bag is empty, or the bag is inside another bag, item.Container returns 0. The item member .SizeCapacity still works properly, but not .Container.
item.Container works if there is something in the bag, or there has been something in the bag during the current session (even if the bag is now empty).
You can still get the number of slots in the bag from the Item Display Window, but that adds quite a bit of time and coding.
${Me.Inventory[pack12].ID} returns the ID number of the item in slot 12, but it returns NULL if the slot does not exist OR if the slot exists but is empty.
Also, it used to be possible to determine the number of slots in a bag with item.Container, but this is no longer reliable.
If a bag is empty, or the bag is inside another bag, item.Container returns 0. The item member .SizeCapacity still works properly, but not .Container.
item.Container works if there is something in the bag, or there has been something in the bag during the current session (even if the bag is now empty).
You can still get the number of slots in the bag from the Item Display Window, but that adds quite a bit of time and coding.

