Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
sunnfire45
Newbie


Joined: 25 Jul 2010
Posts: 4

PostPosted: Sun Jul 25, 2010 7:20 pm   

#ECHO colors
 
Im trying to change the color of my echoes. for instance when a trigger goes off i have #echo sanct is out. i just want to make the sanct is out part show up in yellow. Ive tried using the help files and forums but still cant figure it out. im not that experienced with cmud. any help?
Reply with quote
Martaigne
Wanderer


Joined: 05 Jan 2002
Posts: 88
Location: Atlanta, GA

PostPosted: Sun Jul 25, 2010 8:27 pm   
 
http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=2226

or

http://forums.zuggsoft.com/modules/mx_kb/kb.php?page=3&mode=doc&k=2516
_________________
Unwritten Legends
Reply with quote
sunnfire45
Newbie


Joined: 25 Jul 2010
Posts: 4

PostPosted: Sun Jul 25, 2010 10:33 pm   
 
thanks, between those i was able to get it working.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jul 25, 2010 10:36 pm   
 
For future reference, Helpful People should also include a short blurb relevant to the topic at hand to go along with the link. This could be a simplisitic example (#echo %ansi(red,bold)sanct is out), the name of the helpfile or command/function (%ansi() function), or even an illustrative paragraph explaining things or offering up suggestions. Just posting naked links makes the post look spammy and doesn't really contribute to the flow of the discussion, even if said links point to the correct answers.

As far as the OP's question, %ansi() is a nice simple way to add color to stuff on the fly. You get the choice of 16 colors (available for both foreground and background) plus a few non-color modifiers (bold, underline, italic, blink). To set things back to normal so you don't get color bleed, there's also the "default" modifier.

For more colors, however, you will want to use the MXP <color> tag. The color tag has a foreground and background argument, each of which accepts either a color name (red, blue, olive, etc; see the Color Picker tool in CMud for a handy list of all color names) or an RGB value using either # or & (#0000FF or &0000FF both equate to an equivalent color as %ansi(blue,bold)).
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net