Difference between revisions of "Template:InInventory"
Jump to navigation
Jump to search
(Created page with " <noinclude>This template describes the '''InInventory''' state Conditions of the automacro eventMacros.</noinclude> ;InInventory :* Description: Checks i...") |
(No difference)
|
Latest revision as of 09:48, 4 July 2019
This template describes the InInventory state Conditions of the automacro eventMacros.
- InInventory
-
- Description: Checks if the player has a certain quantity of an item in the inventory, uses item name.
- Does not support percentages.
- Syntax:
InInventory "<item name>" <Math condition operators>
- Note the quotation marks.
- Example:
InInventory "Red Potion" < 10
- Set variables:
$.InInventoryLast => Saves the name of the last item that made InInventory become true $.InInventoryLastAmount => Saves the amount in inventory of the last item that made InInventory become true