inCart: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== [[:Category:Self Condition|Self Condition]] from [[config.txt]]: == | == [[:Category:Self Condition|Self Condition]] from [[:Category:config.txt|config.txt]]: == | ||
; inCart <[[References#Item_Names|item name]]> <[[References#Range_Operators|range]]> | ; inCart <[[References#Item_Names|item name]]> <[[References#Range_Operators|range]]> | ||
: If this option is set, the block will be used if the amount of each of the specified list of items in cart are within the corresponding specified ranges. The value could be a comma-separated list of (<item name> <range>) pairs: | : If this option is set, the block will be used if the amount of each of the specified list of items in cart are within the corresponding specified ranges. The value could be a comma-separated list of (<item name> <range>) pairs: |
Latest revision as of 01:41, 27 April 2021
Self Condition from config.txt:
- inCart <item name> <range>
- If this option is set, the block will be used if the amount of each of the specified list of items in cart are within the corresponding specified ranges. The value could be a comma-separated list of (<item name> <range>) pairs:
- Syntax:
<item> <range>[, <item1> <range1>[, ...]]
- Examples:
It will use Cart Termination on Porings if there are 80 Emperiums inside the cart:
attackSkillSlot Cart Termination { inCart Emperium 80 monsters Poring }
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