ANSI is used to add color to text in a MU environment. It can be used on things such as @doing, comtitles, +powers, @descs, and +finger -- however, combining ANSI and the %t / %r tags may produce unexpected results, so experiment with care. I'm recycling Benihime-sama's old tutorial (slightly adjusted for our needs) on ANSI + comtitles here to demonstrate.


Benihime-sama's Lesson on ANSI Usage with Comtitles

Today, I am going to teach you about the magical world of colour on BMU, using comtitles as an example. Using ANSI in a MU environment generally varies from game to game, so always make sure you check with your help files and staff members when using ANSI in other games, to prevent obnoxious colour bleeds and the like.

The first part of the code is the @force command. You can only use this command on objects you own or control. To the non-wizard, this means yourself, and any objects you create in the game. This command looks like:

@fo me=

The second part is the comtitle command*, which is how you normally change your title on a channel (a line of text that will precede your name on the channel). You must specify both which channel you want your new title on, and what your title is. The comtitle command looks like:

comtitle pub=SCIENCE :)x

*(Note from Haineko: if you want a comtitle without color, simply use the command above. Nothing else is needed.)

The third part of our Command of Science is the ANSI itself. You need to surround your comtitle with a opener and a closer. The ANSI part of this will look like:

%ch%cmSCIENCE RULES! :)x%cn

The %ch tells the game that you want colour, and you want it highlighted. You do not have to highlight your colours; you may leave the %ch out if you like and skip right to designating a colour with %cm.

The %cm tells it that you want the colour magenta (pink). 'm' stands for magenta, and can be replaced with 'w' for white, or 'y' for yellow, and so on--any colour the ANSI on your game supports. See the tag section below for a list of common ones.

The %cn at the end is MANDATORY. I cannot stress this enough. %cn nulls the colour string you just put up. Without it, your colour will bleed through all of the text afterwards. If I catch you not using %cn I'll do something really rotten to you in-game and you'll be sad and don't think I won't do it, either, because my heart is ten sizes too small and I feel zero guilt for my wicked deeds.

With these three things combined, we are:

@fo me=comtitle pub=%ch%cmSCIENCE RULES! :)x%cn

I hope you enjoy your new-found colour, and have a great day...Of SCIENCE! :)x


Short and Quick ANSI Tags List

%ch highlight
%cu underline
%ci inverse
%cn normal/revert

%cx black
%cr red
%cg green
%cy yellow
%cb blue
%cm magenta
%cc cyan
%cw white

Note from Benihime: I want to point out that the game has help files, and that every player should become familiar with using them. If there's no staffer on and you have a question, oftentimes your answer can be found in the help files if you just look for it. To get a complete list of the colours available ingame, use the 'help ansi codes' command.