Difference between revisions of "inCart"

From OpenKore Wiki
Jump to navigation Jump to search
Line 1: Line 1:
; inCart <[[References#Item_Names|item name]]> <[[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:
  
 
  Syntax:
 
  Syntax:
  <item> <range>[, <item1> <range1>[, ...]]
+
  <item> <[[References#Range_Operators|range]]>[, <item1> <[[References#Range_Operators|range1]]>[, ...]]
  
 
== Examples ==
 
== Examples ==

Revision as of 21:49, 23 January 2017

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
}