Difference between revisions of "InInventoryID"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:InInventoryID}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
 
m (4epT moved page inInventoryID to InInventoryID over a redirect without leaving a redirect)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 21:44, 12 September 2021

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