Difference between revisions of "InStorage"

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with "{{Template:InStorage}} Category:EventMacro_Automacros Category:EventMacro_Conditions_State")
 
m (Conversion script moved page InStorage to inStorage: Converting page titles to lowercase)
(No difference)

Revision as of 22:35, 26 April 2021

InStorage
  • Description: Checks if the player has a certain quantity of an item in the storage, uses item name.
  • Does not support percentages.
Syntax:
InStorage "<item name>" <Math condition operators>
Note the quotation marks.
Example:
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