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
Murdlih
Beginner


Joined: 17 Dec 2001
Posts: 24
Location: USA

PostPosted: Wed Mar 27, 2002 11:47 pm   

color help
 
What I would like to accomplish is to create a trigger that will change ALL mud text to a certain color until further notice.

i.e.

"You come out of hiding." turns everything red until "you slide back into the shadows"
Reply with quote
kognesty
Newbie


Joined: 08 Jan 2001
Posts: 8
Location: USA

PostPosted: Thu Mar 28, 2002 12:07 am   
 
This sounds like a set of triggers, one to turn on the color change, and one to two it off. Then of course the trigger to change all text recieved into that color.
You can get away with a simple alias or macro as well, for the turning on and off.
The trigger to turn all text recieved would be something like this:
#Trigger {^(*)}{#SUB %ansi(High,white)%1}
This may not be correct syntax, so check under help substitution and %ansi to insure a correctly functioning trigger.
Reply with quote
undergod
Wanderer


Joined: 27 Jun 2001
Posts: 82

PostPosted: Thu Mar 28, 2002 4:53 am   
 
Try this:

#trigger {^You come out of hiding.$} {#T+ colored}
#trigger {*} {#cw 132} {colored}
#trigger {^You slide back into the shadows.$} {#T- colored}

if any gurus want to correct me, go ahead, cuz it might not be syntactically correct, but I think so.
Reply with quote
Murdlih
Beginner


Joined: 17 Dec 2001
Posts: 24
Location: USA

PostPosted: Sat Mar 30, 2002 1:00 am   
 
thanks undergod. works like a charm.
Reply with quote
Murdlih
Beginner


Joined: 17 Dec 2001
Posts: 24
Location: USA

PostPosted: Sat Mar 30, 2002 1:34 am   
 
Hmm.. twice now just after #t+ colored started, Zmud froze and shut down. Well, the screen didn't close, but it didn't respond and in Ctrl Alt Delete it said nothing about Zmud, but that my plugin wasn't working. (the plugin is cppi, a status bar type thing)

Not a big deal. the coloring thing was just for convenience. I am only posting in case someone else trys this and experiences shutdown.
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