MUME Help
ANSI, CHANGE COLOUR, COLORS, COLOURS
change colour
command.
You can change the colour settings for either of the following fields:
achievement | code-type | magic | room-desc | zone-evil |
avoid-damage | code-var | miss | say | zone-good |
character | damage | movement-in | shout | zone-neutral |
code | emote | movement-out | social | zone-nice |
code-const | emphasis | narrate | song | outdoors (*) |
code-debug | enemy | normal | status | sunny (*) |
code-error | exits | object | tell | |
code-fn | header | player | weather | |
code-number | hit | pray | yell | |
code-string | look | prompt | zone-bad |
Where:
-
character
is used for character (mobile or player) names; some mobiles that look like plants don't have this markup -
enemy
is applied in addition tocharacter
for cross-race player enemies -
player
is applied in addition tocharacter
for non-enemy player characters -
movement-in
andmovement-out
are used when characters move in and out of your room by special means. Regular movement (north, east, etc.) is not coloured, to avoid being spammy. -
sunny
is only available to Orcs and Trolls and is used as special colouring of exits to sunny rooms. -
outdoors
is only available and Trolls and is used as special colouring of exits to outdoors (but not currently sunny) rooms. -
status
makes data stand out, such as your hit points inscore
andinfo
. -
header
is used when showing data tables. -
tell
is used for directed communication: theask
,tell
, andwhisper
commands. -
shout
is used when the Ainur proclaim something.
> change colour <field>
where <field> is one of the above. To actually change it, use:
> change colour <field> <attribute>
See help ansi codes
, help
8-bit colours
, and help
24-bit colours
to see how different colour
settings look on your client.
Attributes
The <attribute> may be one ofnone
(no colour),
default
(the MUME built-in standard colour) or
monochrome
(the MUME built-in standard
monochrome settings).
You can also specify your own colour setting. Then the
<attribute> consists of zero or more of blink
,
bold
, faint
, inverse
,
italic
, and uppercase
, optionally followed by a
colour, optionally followed by the keyword on
and a
background colour.
Standard Colours
The standard colours available are:black | red | green | yellow | blue | magenta | cyan | white |
Black | Red | Green | Yellow | Blue | Magenta | Cyan | White |
If you write the colour starting with a capital letter
(Black
, Blue
, etc.) you get a high intensity
version of the colour.
256-colour Terminals
Some terminals support 256 different (8-bit) colours. Seehelp
256 colours
to check if your terminal does.
That help page also shows the names of
the colours. They are prefixed by &
, so for example
&044
should be turquoise.
Use &rgb
where each of r
,
g
, and b
is a
value between 0 (no colour) and 5 (max).
Also, 24 shades of grey are supported. Use &greyn
where n
is 0-100.
24-bit RGB Terminals
Some terminals support full 24-bit RGB colours. Seehelp 24-bit colour
to check if your terminal
does. Such colours are specified as #rrggbb
where each of
rr
, gg
, and
bb
is a two-digit hexadecimal number in 00-ff.
Underline Styles
Some (but only a few) terminals support specifying different underline styles and colours. Use one of the following to specify a specific style:
ul:off
|
(default) disables underline |
ul:inherit
|
does not change the underline setting |
ul:single
|
single line (same as underline )
|
ul:double
|
double lines |
ul:curly
|
curly or wavy line |
ul:dotted
|
dotted line |
ul:dashed
|
dashed line |
To specify an underline colour, prefix the underline style with a colour. For
example, to specify that header
should have a red and curly
underline:
> cha col header red ul:curly
Examples
>
|
make room names appear in bold green |
>
|
make narrates appear underlined |
>
|
make songs appear in the default colour (yellow) |
>
|
make hits show in high intensity green on a red background |
>
|
make magic appear turquoise |
The "normal" field
Thenormal
field is mostly useful for people with bad terminal
programs that don't reset colours properly. Setting the
colour to anything but none
will make all text from the game be
forced into a certain colour. So if you have problem with colours
"bleeding" into places where they don't belong, try cha col
norm white on black
(or whatever setting you prefer).
Colour groups
You can also set groups of fields to one of thenone
,
default
or monochrome
settings using:
> cha col <group> none|default|monochrome
where <group> can be one of the following:
all
|
all the fields |
communications
|
the pray ,
say ,
shout ,
song ,
tell and
yell fields
|
fights
|
the damage and hit fields |
zones
|
the zone-bad , zone-evil ,
zone-good , zone-neutral and
zone-nice fields, used by the
map command
|
For example:
>
|
set all colours to the default values |
>
|
turn off colours in fights |
>
|
make communications appear in monochrome |
Special commands
You can also toggle the use of colours on and off, overriding the settings above. This is done withchange colour on
and change colour
off
.
You can change multiple fields by separating them by commas. For example:
> cha col all default, say bold white on red, zones none
Use change colour show
to
show all your current setting as a single command that can
be used to go back to these settings at a later time, or for a different
character.
Use account import <player>
colour
to copy colour settings from other
characters in your account.
See also: | CHANGE, MAP, ANSI CODES, ANSI EXAMPLE, ACCOUNT |
Generated on Thu Sep 5 18:09:39 2024