From OpenKore Wiki
- Description: Checks if the player has a certain quantity of an item in the inventory, uses item ID.
- Does not support percentages.
InInventoryID <item ID> <Math condition operators>
InInventoryID 501 < 10
- Set variables:
$.InInventoryIDLast => Saves the ID of the last item that made InInventoryID become true $.InInventoryIDLastAmount => Saves the amount in inventory of the last item that made InInventoryID become true