Color Triggers on MUDs

Posted by Vercalos on Mon 04 Apr 2005 07:53 PM — 4 posts, 20,938 views.

#0
Anyone know how to write triggers to change colors of certain texts? I'm on a MUD and the prompt won't let me put as many colors as I want to put in, so I want to color it myself. Suggestions?
USA #1
You can either use a plugin (with on plugin packet receive) to inject color sequences, or you can use a trigger and colornote to redo the line with colors (then you still have the problem of having prompts without newlines, but that can be gotten around in a variety of ways).
#2
I'm afraid you'll have to give me more specific directions; I know next to nothing about scripting.
USA #3
See this post on the plugin/packet problem (and the prompt problem):
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=5020

and all you'll need to do is figure out the regexp for your prompt line, and figure out what you want it to be (with color codes) and insert them both.