|
Murdlih Beginner
Joined: 17 Dec 2001 Posts: 24 Location: USA
|
Posted: 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" |
|
|
|
kognesty Newbie
Joined: 08 Jan 2001 Posts: 8 Location: USA
|
Posted: 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. |
|
|
|
undergod Wanderer
Joined: 27 Jun 2001 Posts: 82
|
Posted: 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. |
|
|
|
Murdlih Beginner
Joined: 17 Dec 2001 Posts: 24 Location: USA
|
Posted: Sat Mar 30, 2002 1:00 am |
thanks undergod. works like a charm.
|
|
|
|
Murdlih Beginner
Joined: 17 Dec 2001 Posts: 24 Location: USA
|
Posted: 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. |
|
|
|
|
|