Template:InInventoryID

From OpenKore Wiki
Revision as of 10:01, 4 July 2019 by 4epT (talk | contribs) (Created page with " <noinclude>This template describes the '''InInventoryID''' state Conditions of the automacro eventMacros.</noinclude> ;InInventoryID :* Description: Chec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This template describes the InInventoryID state Conditions of the automacro eventMacros.
InInventoryID
  • Description: Checks if the player has a certain quantity of an item in the inventory, uses item ID.
  • Does not support percentages.
Syntax:
InInventoryID <item ID> <Math condition operators>
Example:
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