Register forum user name Search FAQ

Gammon Forum

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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Echoing Colored Text

Echoing Colored Text

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


Posted by Artel   USA  (65 posts)  Bio
Date Fri 11 Feb 2005 10:19 PM (UTC)
Message
I want to echo text of different colors. An example:

send "echo You tell the clan: blah blah"

You tell the clan: in bright yellow and blah blah in green
I'm using ver. 3.50.

Artel.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Fri 11 Feb 2005 10:38 PM (UTC)
Message
This is color for everyone else, yes? If so, you'll need to use your servers color codes. Some servers use %cX where X is a color code, some use {, and Im sure there are plenty of other ways of doing it, check a help file somewhere.

If you actually want to send the colors (they probably wont be colored to everyone else, the server will probably strip them) you can use the ANSI command, a list of colors (and documentation) can be found here:
http://www.gammon.com.au/scripts/doc.php?function=ANSI

~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.


11,556 views.

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

Go to topic:           Search the forum


[Go to top] top

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