Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Color Triggers on MUDs
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Vercalos
(23 posts) Bio
|
Date
| Mon 04 Apr 2005 07:53 PM (UTC) |
Message
| 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? | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Mon 04 Apr 2005 10:02 PM (UTC) |
Message
| 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). |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Vercalos
(23 posts) Bio
|
Date
| Reply #2 on Tue 05 Apr 2005 05:21 AM (UTC) |
Message
| I'm afraid you'll have to give me more specific directions; I know next to nothing about scripting. | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #3 on Tue 05 Apr 2005 07:08 AM (UTC) |
Message
| 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. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
15,373 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top