From OpenKore Wiki
Revision as of 05:06, 4 July 2019 by 4epT (Created page with " <noinclude>This template describes the '''InCart''' state Conditions of the automacro eventMacros.</noinclude> ;InCart :* Description: Checks if the play...")
This template describes the InCart state Conditions of the automacro eventMacros.
- Description: Checks if the player has a certain quantity of an item in the cart, uses item name.
- Does not support percentages.
InCart "<item name>" <Math condition operators>
- Note the quotation marks.
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