From OpenKore Wiki
This template describes the InStorage state Conditions of the automacro eventMacros.
- Description: Checks if the player has a certain quantity of an item in the storage, uses item name.
- Does not support percentages.
InStorage "<item name>" <Math condition operators>
- Note the quotation marks.
InStorage "Blue Potion" > 100
- Set variables:
$.InStorageLast => Saves the name of the last item that made InStorage become true $.InStorageLastAmount => Saves the amount in storage of the last item that made InStorage become true