Directory Contents Search Print << >>


Control Codes

mIRC interprets control codes in text for Bold, Underline, Reverse, and Color and displays text in the specified format.

You can use the following key combinations to insert control codes in text:

Control+B for bold text

Control+U for underlined text

Control+R for reverse text

Control+K for colored text

Control+O for plain text

Examples

To underline a single word in a sentence:

1.Type Control+U

2.Type in the word

3.Type Control+U again

Only the text that is enclosed by the start and end codes will be affected. You can use this method with all of the other control codes.

The Control+K control code is slightly different because it allows you to specify a color number. To color a single word in a sentence:

1.Type Control+K

2.Type a number between 0 and 15

3.Type the word

4.Type Control+K again

If you also want to change the background color of a word, you would need to type two numbers separated by a comma instead of just one number. The first number is the text color, the second number is the background color. The colors range from 0 to 15, and the indexes are:

0 white    8 yellow

1 black    9 lightgreen

2 blue    10 cyan

3 green    11 lightcyan

4 lightred  12 lightblue

5 brown    13 pink

6 purple    14 grey

7 orange  15 lightgrey

If you want to enclose existing text in control codes, just select the text with your cursor, and then type the Control code. This will insert both starting and ending control codes around the text you selected.

You can enclose text in multiple control codes, so for example you could have a bold, underlined, and colored word.

You can use color 99 to indicate a transparent color.

Note: If you have the Pop up color index switch turned on in the Options dialog, mIRC will pop up a small color index showing you each color and it's associated number so you don't have to memorize them.

If you want to strip out control codes that other people send you in private or channel messages, you can either change the strip settings in the Messages dialog, or you can use the /strip command.