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
Caratacus
Newbie


Joined: 05 Mar 2008
Posts: 1

PostPosted: Wed Mar 05, 2008 4:03 am   

%ansi orange?
 
Is it possible to echo/say something in orange in CMUD? I've tried #sa %ansi(orange)HI but it says HI in black.
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Wed Mar 05, 2008 4:12 am   
 
Well, since you are only using #say why not use MXP which does work?

#say <color orange>HI</color>
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Wed Mar 05, 2008 7:16 am   
 
If you look up the help on %ansi (#HELP %ansi), it will list the allowed colors and modifiers. Orange is not one (because it is not a defined color in the ANSI palate).
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Mar 05, 2008 10:16 am   
 
Mmm, the %ansi function only supports the 7 standard ansi colours. You could remap one of them to orange if you wanted.

MXP works with any websafe colour name (there's a full list somewhere and I have a package in the library called ColourWheel that'll print them all for you) or with any colour at all using #rrggbb.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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