|
immortalking Newbie
Joined: 07 Apr 2003 Posts: 8
|
Posted: Thu May 20, 2004 10:10 pm
Problems with ",'s" |
<Health %d/%d
#If(1%<700) {#EXEC ;west;up;south}
Thats my trigge rim using right now. The mud im playing putd a "," on numbers over 1k. Now i want to put that in my trigger so it allows me to execute west up south like above. I would like to know how to do this just changeing the #If (1%<700) to 2,500. When i try putting a" ," in I get a synthax error.
<Health 2,500/12420 thats what the prompt would look like. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu May 20, 2004 11:09 pm |
Use the %n wildcard instead of %d.
Got to love the Pattern Matching help page. |
|
|
|
immortalking Newbie
Joined: 07 Apr 2003 Posts: 8
|
Posted: Thu May 20, 2004 11:49 pm |
<Health %n/%n
#If(1%<2500) {#EXEC ;west;up;south}
So that would be the new trigger? Cause it seems that it just keeps shooting off even when my health is over 2500 |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Fri May 21, 2004 12:29 am |
PATTERN MATCHING HELPFILE will explain the things you are doing wrong
Copy and paste this in the command line and hit enter
#TR {^~<Health (%n)/(%n)} {#IF (%1<2500) {#EXEC ;west;up;south}} "" {prompt|nocr} |
|
|
|
|
|