From OpenKore Wiki
This template describes the InStorageID state Conditions of the automacro eventMacros.
- Description: Checks if the player has a certain quantity of an item in the storage, uses item ID.
- Does not support percentages.
InStorageID <item ID> <Math condition operators>
InStorageID 507 100..500
- Set variables:
$.InStorageIDLast => Saves the ID of the last item that made InStorageID become true $.InStorageIDLastAmount => Saves the amount in storage of the last item that made InStorageID become true