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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Snoop Bob
Beginner


Joined: 05 Sep 2003
Posts: 23

PostPosted: Tue Sep 23, 2003 11:34 am   

Status box color!
 
How do I have different lines/words in my status box a different color[?]?[?]


Thanks
Reply with quote
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Tue Sep 23, 2003 11:48 am   
 
help -> index - > ansi

Syntax: %ansi(fore,back)
Related: %color, #COLOR, #CW

return the ANSI codes for the given colors. Can use a numeric value such as generated by the %color function.
You can also modify the fore and back attributes with the strings:

high highlight (select highlighted color)
bold bold text
rev reverse video
blink blinking text
under underlined text

Recognized color names:

black, blue, green, cyan, red, magenta,brown, gray, yellow, white
Reply with quote
Snoop Bob
Beginner


Joined: 05 Sep 2003
Posts: 23

PostPosted: Tue Sep 23, 2003 1:00 pm   
 
Can this work for JUST status box words?... if so, how so?
Reply with quote
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Thu Sep 25, 2003 2:30 am   
 
it works on the mud output, the status window, but blinking doest not work on the status bar. to use it just add %ansi() to the text you want to color. it can also be inside a variable so when your display it in your status window it will have a different color as the other text.

trigger: ^You may use bash again
value : #var bash %ansi( 6)"Ok"

trigger: ^You slam into
value : #var bash %ansi( 12)"No"

trigger: ^You miss * entirely and stumble to the ground!
value : #var bash %ansi( 12)"No"

status bar: %ansi(1)<Bash:@bash%ansi(1)>

result : <Bash:OK> or <Bash:No>
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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