If the pattern parameter is left out, this command changes the color of the last line received from the MUD. The color attribute can be a numeric attribute (compatible with the attribute values used by the text modes of DOS) or can be a combination of string values listed below, separated by commas.
If the pattern is included, a trigger is created to color any line matching the given pattern with the specified color.Color values:
black |
0 |
blue |
1 |
green |
2 |
cyan |
3 |
red |
4 |
magenta |
5 |
brown |
6 |
gray |
7 |
yellow |
14 |
white |
15 |
bold |
128 |
to make a color brighter, add 8 to the base value. For example, 9 is bright blue. To change the background color, rather than the foreground, multiply the base value by 16. For example, to get a red background, use 4*16 or 64. To make the foreground font bold, add 128 to the value.
Thus, a bold white on a blue background would be 128 + 1*16 + 15 = 159.