Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Tubbeh
Newbie


Joined: 08 Nov 2004
Posts: 6

PostPosted: Wed May 25, 2005 2:38 pm   

Color Trigger Exclusions?
 
I have set up a few color-based triggers in Zmud.
One for "drops" "gets" "gives". Think is, I'd like to have it so that if the word "wisps" is included on the same line, that the trigger cancels itself and doesnt color the line. There a way to do this?

Example:
I have the color triggers for "gets" because there are far to many strings and not enough to be specific on things. So, when someone uses a chat channel and adds "gets" or the like to their chat, the entire line turns purple, and Im confused for a few moments. (I know it isn't hard to do...)

So I wanted to add to my color trigger that if a specified word is displayed on the same line, that the trigger nulls out and displays standard text instead of color..Something like:

String: gets - "wisps"
Value: #co bold,red,underline

Or something like that...
_________________
-Laugh and grow fat.
Tubby of Spork.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed May 25, 2005 9:30 pm   
 
If a trigger is matched, there's no way to unmatch it. You'll have to change your triggers or find some other way to do things.
_________________
EDIT: I didn't like my old signature
Reply with quote
Aarlot
Adept


Joined: 30 Dec 2003
Posts: 226

PostPosted: Wed May 25, 2005 9:40 pm   
 
You could do something like:

#TR {(*)gets} {#IF (!%pos("whips", "%1")) {#CO bold,red,underline}
_________________
Everyone is entitled to their beliefs - until they die. Then only the truth matters.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net