|
Snoop Bob Beginner
Joined: 05 Sep 2003 Posts: 23
|
Posted: 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 |
|
|
|
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: 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 |
|
|
|
Snoop Bob Beginner
Joined: 05 Sep 2003 Posts: 23
|
Posted: Tue Sep 23, 2003 1:00 pm |
Can this work for JUST status box words?... if so, how so?
|
|
|
|
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: 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> |
|
|
|
|
|
|
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
|
|