inCart: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
; inCart [<[[References#Item Names|item name]]> <[[References#Range Operators|range]]>]
; 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:
: 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:


Line 5: Line 5:
  <item> <range>[, <item1> <range1>[, ...]]
  <item> <range>[, <item1> <range1>[, ...]]


Example:
== Examples ==
It will use Cart Termination on Porings if there are 80 Emperiums inside the cart:
  attackSkillSlot Cart Termination {
  attackSkillSlot Cart Termination {
  inCart Emperium 80
  inCart Emperium 80
  monsters Poring
  monsters Poring
  }
  }
* It will use Cart Termination on Porings if there are 80 Emperiums inside the cart.


[[Category:Self Condition]]
[[Category:Self Condition]]

Revision as of 11:35, 17 August 2012

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
}