Colour

To switch colour on, type TERM COLOUR and to switch it back off again type TERM NOCOLOUR.
Please note that we have a reported problem where it doesn't matter what you set with the TERM command, it doesn't seem to stick when you next log on.

This mechanism has been added to all output routines and will print colour whenever it gets a correct colour sequence.

Colour commands:

General screen attributes:
Three Letter CodeAttribute changed
brtBright
udlUnderlined
revReversed
xxxReset to normal
dimDim (disabled)
bliBlinking (disabled)
hidHidden (disabled)

Prefix Attributes:

Foreground coloursPrefix with f
Background coloursPrefix with b

Colour Codes:

Two Letter CodeColour Shown
bkBlack
rdRed
grGreen
yeYellow
blBlue
mgMagenta
cyCyan
whWhite

How to use these codes:

First, you enter the colour control code '$' which tells Avatar that we are about to use colour.

Next, we decide if it will be an Attribute or colour we are using (either a three letter code or two letter code).

If its an attribute then enter the three letter code (eg BRT for bright).

If its a two letter code, then decide if you are changing the fireground (enter F) or background (enter B) followed by the two letter code for the colour (eg RD for red).

So, to create a white background with red text, you would type

$bwh$frd

There are checks to make sure you can't $bwh$fwh and cause whiteout!
You can use '' or '$' for the colour control code.

Note : Because this is done at a very basic level, you can add colour just about anywhere - room descriptions, sets, shouts, emotes, etc!