Template:InCart

From OpenKore Wiki
Revision as of 10:06, 4 July 2019 by 4epT (talk | contribs) (Created page with " <noinclude>This template describes the '''InCart''' state Conditions of the automacro eventMacros.</noinclude> ;InCart :* Description: Checks if the play...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This template describes the InCart state Conditions of the automacro eventMacros.
InCart
  • Description: Checks if the player has a certain quantity of an item in the cart, uses item name.
  • Does not support percentages.
Syntax:
InCart "<item name>" <Math condition operators>
Note the quotation marks.
Example:
InCart "Blue Potion" > 100
Set variables:
$.InCartLast => Saves the name of the last item that made InCart become true
$.InCartLastAmount => Saves the amount in cart of the last item that made InCart become true