Difference between revisions of "doCommand"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | ; doCommand [<console | + | ; doCommand [<[[Console Commands|console commands]]>] |
− | :: { | + | : Enables auto use of specified console command when the conditions defined are met. |
− | + | ||
+ | ''' Syntax: ''' | ||
+ | doCommand <console commands> { | ||
+ | # [[References#Self Conditions|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 | ||
+ | } | ||
− | |||
[[Category:config.txt]] | [[Category:config.txt]] | ||
[[Category:config block]] | [[Category:config block]] |
Revision as of 15:06, 12 December 2009
- doCommand [<console commands>]
- Enables auto use of specified console command when the conditions defined 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 }