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 EXAMPLE


In MUME you can use the ANSI standard in room descriptions, keywords, whois, and virtually any text that may be edited through the local editing protocol. The MUME line-editor will however have problems handling these codes since it will not support the <esc> character that's needed for ANSI codes.

A simple explanation and some examples:

The ANSI Text style attributes is as follows:

  <esc>[<attribute>m

where <attribute> is a number between 0 and 9.

The ANSI colour codes are always used as follows:

  <esc>[<attribute><colour>m

where <attribute> is either 3 (foreground) or 4 (background) and <colour> is a number between 0 and 7.

You can also combine two or more styles (and/or colours) to get the wanted colour and style by separating the numbers with ;.

Example: bold (1) white (37) text on blue background (44) like this

  <esc>[1;37;44m

Or you can just go ballistic and make up funny little Christmas-trees like this

  Norway beat
  Brazil 2-1 in the
  France -98
  Soccer World Cup
__________________________________WARNING__________________________________
_________DO_NOT_USE_ANSI_TO_MESS_UP_THE_TERMINALS_OF_OTHER_PLAYERS_________
________________THIS CAN RESULT IN DEMOTION OF YOUR CHARACTER______________

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

Generated on Mon Aug 31 21:53:21 2020