|
Fastidious Beginner
Joined: 03 Sep 2004 Posts: 12
|
Posted: Fri Sep 10, 2004 5:55 am
Simple scripting problem |
Im making a stat guage button that displays a stat within zmud on the button. Basicly this mud is a pkill mud with weapons that have "Weapon Flags" on them. The flags do stat damage like "-1 Dex" per hit. Anyways, the object is to set a trigger to cue my gauge when I am hit. It works perfectly and im glad I could do it. But I ran into a problem that prob seems commin for everyone who writes triggers. The fake emotes and so on.
Q: Can anyone suggest a refrence or solution to making my one trigger not go off on emotes or tells.
-Trigger-
Pattern - Your skin soars up with plague.
Value - #MATH DEX @DEX+@STAT1
-Dont Want-
Tristen Your skin soars up with plague.
(trigger sets off)
or
(Tristen Tells You) Your skin soars up with plague.
If anyone can help or suggest something for me to read up on or anything please let me know. I know this has to be simple, but im learning :)
-Fastidious |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Sep 10, 2004 9:55 am |
Read the Pattern Matching page in the help. It explains using anchors ^ and $ to mark the beginning and end of line into the pattern.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Fastidious Beginner
Joined: 03 Sep 2004 Posts: 12
|
Posted: Fri Sep 10, 2004 10:53 am |
Did the trick with the ^ stuff. Thanks for the piece of info that was right in my face.
|
|
|
|
|
|