Difference between revisions of "doCommand"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | Enables auto use of specified console commands when the conditions defined in the block are met. | |
− | |||
− | + | == Syntax == | |
doCommand <console commands> { | doCommand <console commands> { | ||
# [[References#Self Conditions|Self Conditions]] | # [[References#Self Conditions|Self Conditions]] | ||
} | } | ||
+ | === Details === | ||
+ | ---- | ||
+ | |||
+ | |||
+ | ; doCommand (<[[Console Commands|console commands]]>) { | ||
+ | : Specifies the console commands that are going to be run. | ||
+ | |||
+ | |||
+ | == Example == | ||
− | |||
* Talk to NPC when your HP is lower than 5% and you are on prontera. | * Talk to NPC when your HP is lower than 5% and you are on prontera. | ||
− | doCommand talknpc 87 132 c r0 c | + | doCommand talknpc 87 132 c r0 c { |
hp < 5% | hp < 5% | ||
inMap prontera | inMap prontera |
Revision as of 02:12, 14 December 2009
Enables auto use of specified console commands when the conditions defined in the block are met.
Syntax
doCommand <console commands> { # Self Conditions }
Details
- doCommand (<console commands>) {
- Specifies the console commands that are going to be run.
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 }