Formatting text » History » Revision 7
Revision 6 (Per Amundsen, 05/17/2015 02:22 AM) → Revision 7/83 (Per Amundsen, 05/17/2015 02:26 AM)
{{>toc}} h1. Formatting text AdiIRC supports control codes for formatting text. h1. Colorchar Colors blocks of text. Ascii character char [[$chr]](3) Ctrl + K can be used in editbox to type this character. The character can be follow by 1-2 2 digits that represent the color number. By specifying a comma after number, the digits, you can add a 1-2 digit background color as well. The default colors can be changed in Options -> Colors -> mIRC Colors. *Example* <pre> ; 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 </pre> h1. Boldchar Makes the block use a *bold* font. Ascii character [[$chr]](2) - Ctrl + B can be used in editbox to type this character. - Makes the block bold. h1. Italicchar Makes the block use a _italic_ font. Ascii character [[$chr]](29) - Ctrl + I can be used in editbox to type this character. - Makes the block italic. h1. Underlinechar Makes the block use a +underline+ font. Ascii character [[$chr]](31) - Ctrl + U can be used in editbox to type this character - Makes the block underline. h1. Stopchar [[$chr]](15) - Ctrl + O - Stops all formatting. Alternative colorchar [[$chr]](61442) - Alternative way to show any color.h1.