From OpenKore Wiki
This template describes the InCartID state Conditions of the automacro eventMacros.
- Description: Checks if the player has a certain quantity of an item in the cart, uses item ID.
- Does not support percentages.
InCartID <item ID> <Math condition operators>
InCartID 507 100..500
- Set variables:
$.InCartIDLast => Saves the ID of the last item that made InCartID become true $.InCartIDLastAmount => Saves the amount in cart of the last item that made InCartID become true