 |
sjleonard Beginner
Joined: 10 Jun 2002 Posts: 23 Location: United Kingdom
|
Posted: Sun Aug 25, 2002 6:55 pm
Colour tables/codes |
]Hi,
I'm writing a fairly basic script to take in a player's name and compare it to a list of guilds (that part is fine). I'm sure this is fairly simple.
My problem is with matching colours. When a player sends me a 'tell' (no-location speech) my MUD converts it to blue (Mud-side setting that can be altered) however, it is much lighter than the very dark ansi blue.
How can I select a lighter ansi blue?
Here's an example of my code.
#sub {%ansi( white, bold)"[KODA]" %ansi( green) "%1 told "}
I hope that helps?
Stewart
|
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sun Aug 25, 2002 8:00 pm |
quote:
ansi
Syntax: %ansi(fore,back)
Related: %color, #COLOR, #CW
return the ANSI codes for the given colors. You can also modify the fore and back attributes with the strings "bold" for bold font, "high" for highlighted colors, "blink" for blinking text, "under" for underlined text, and "rev" for reversed text.
Examples
#SHOW %ansi(high,red)Hello%ansi(blink,blue,white)Word
How about %ansi(high,blue) that the lighter blue you looking for that isn't cyan?
Ton Diening |
|
|
 |
|
|
|
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
|
|