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+I for italic 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 word:

 

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.

 

To color a word you can use Control+K which allows you to specify a color number:

 

1.Type Control+K

2.Type a number between 0 and 15

3.Type the word

4.Type Control+K again

 

If you 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 light green

       2 blue                10 cyan

       3 green                11 light cyan

       4 lighted        12 light blue

       5 brown                13 pink

       6 purple                14 grey

       7 orange        15 light grey

 

Control+K can pop up a color index dialog, depending on your setting in the Keys dialog.

 

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 its associated number so you do not have to memorize them.

 

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