doCommand

From OpenKore Wiki
Revision as of 22:34, 26 April 2021 by Conversion script (talk | contribs) (Conversion script moved page DoCommand to doCommand: Converting page titles to lowercase)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Enables auto use of specified console commands when the conditions defined in the block are met.

Syntax

doCommand <console commands> {
	# Self Conditions
}

Example

  • Talk to NPC when your HP is lower than 5% and you are on prontera.
doCommand talknpc 87 132 c r0 c {
	hp < 5%
	inMap prontera
}