[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Color Triggers on MUDs

Color Triggers on MUDs

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Vercalos   (23 posts)  [Biography] 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?
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] top

Posted by Vercalos   (23 posts)  [Biography] 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.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] 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.
[Go to top] 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.


14,505 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]