Home

MUME Help

Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

ANSI, CHANGE COLOUR, COLORS, COLOURS


To get your favourite MUD (or MUME, depending on your point of view) in ANSI colour, use the change colour command.

You can change the colour settings for either of the following fields:

  achievement   header       movement-out  say     weather       zone-nice
  avoid-damage  hit          narrate       shout   yell
  damage        look         normal        social  zone-bad
  emote         magic        pray          song    zone-evil
  enemy         miss         prompt        status  zone-good
  exits         movement-in  room-desc     tell    zone-neutral
Where:
  • header is used when showing data tables
  • movement-in and movement-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.
  • status makes data stand out, such as your hit points in score and info.
To see the current colour setting for one of the fields, use:
  > change colour <field>

where <field> is one of the above. To actually change it, use:

  > change colour <field> <attribute>

Attributes

The <attribute> may be one of none (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 underline, 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. See help 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. See help 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.

Examples

> cha col look bold green
make room names appear in bold green
> cha col narr underline
make narrates appear underlined
> cha col song default
make songs appear in the default colour (yellow)
> cha col hit Green on red
make hits show in high intensity green on a red background
> cha col magic #40e0d0
make magic appear turquoise

The "normal" field

The normal 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 the none, 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:

> cha col all default
set all colours to the default values
> cha col fight none
turn off colours in fights
> cha col comm mono
make communications appear in monochrome

You can also toggle the use of colours on and off, overriding the settings above. This is done with change 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.

See also: CHANGE, MAP, "ANSI CODES", "ANSI EXAMPLE"

Generated on Mon Aug 31 21:53:21 2020