useSelf item

From OpenKore Wiki
Revision as of 16:02, 12 December 2009 by Mushrom (talk | contribs) (Created page with '; useSelf_item [<item names>] : Automatically use items when certain conditions are met. This option specifies a comma-separated list of items that will…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
useSelf_item [<item names>]
Automatically use items when certain conditions are met. This option specifies a comma-separated list of items that will automatically be used on self.
Note:
  • Only one of the listed items will be used, so if the listed items are Orange Potion, Red Potion, White Potion and the conditions are met and we have Orange Potion, it will be used.

Syntax:

useSelf_item [<item names>] {
	dcOnEmpty [<boolean flag>]

	# Self Conditions
}


Attribute definitions:

dcOnEmpty [<boolean flag>]
If this option is set, disconnect if there are no more items in inventory to use.


Example

  • Use Concentration Potion when Concentration Potion status is off and Kore is not sitting and it's in lockMap.
useSelf_item Concentration Potion {
	whenStatusInactive Concentration Potion
	inLockOnly 1
	notWhileSitting 1
}