Template:InStorage: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
Created page with " <noinclude>This template describes the '''InStorage''' state Conditions of the automacro eventMacros.</noinclude> ;InStorage :* Description: Checks if th..."
 
(No difference)

Latest revision as of 10:03, 4 July 2019

This template describes the InStorage state Conditions of the automacro eventMacros.
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