Project

General

Profile

Actions

Formatting text » History » Revision 6

« Previous | Revision 6/83 (diff) | Next »
Per Amundsen, 05/17/2015 02:22 AM


Formatting text

AdiIRC supports control codes for formatting text.

Colorchar

Colors blocks of text.

Ascii char $chr(3)

Ctrl + K can be used in editbox to type this character.

The character can be follow by 2 digits that represent the color number, the colors can be changed in Options -> Colors -> mIRC Colors.

Example

; Prints the text 'Hello World' with color 4 which is red by default.
//echo -ag $chr(3) $+ 3 Hello world

; Prints the text 'Hello World' with color 4 which is red by default and background color 12 which is blue by default.
//echo -ag $chr(3) $+ 3,12 Hello world

Boldchar

$chr(2) - Ctrl + B - Makes the block bold.

Italicchar

$chr(29) - Ctrl + I - Makes the block italic.

Underlinechar

$chr(31) - Ctrl + U - Makes the block underline.

Stopchar

$chr(15) - Ctrl + O - Stops all formatting.

Alternative colorchar

$chr(61442) - Alternative way to show any color.h1.

Updated by Per Amundsen over 9 years ago · 6 revisions

Also available in: PDF HTML TXT