From OpenKore Wiki
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