Formatting text » History » Version 6
Per Amundsen, 05/17/2015 02:22 AM
1 | 1 | Per Amundsen | {{>toc}} |
---|---|---|---|
2 | |||
3 | h1. Formatting text |
||
4 | |||
5 | AdiIRC supports control codes for formatting text. |
||
6 | |||
7 | 2 | Per Amundsen | h1. Colorchar |
8 | |||
9 | 4 | Per Amundsen | Colors blocks of text. |
10 | |||
11 | Ascii char [[$chr]](3) |
||
12 | |||
13 | Ctrl + K can be used in editbox to type this character. |
||
14 | |||
15 | 5 | Per Amundsen | The character can be follow by 2 digits that represent the color number, the colors can be changed in Options -> Colors -> mIRC Colors. |
16 | 2 | Per Amundsen | |
17 | 6 | Per Amundsen | *Example* |
18 | <pre> |
||
19 | ; Prints the text 'Hello World' with color 4 which is red by default. |
||
20 | //echo -ag $chr(3) $+ 3 Hello world |
||
21 | |||
22 | ; Prints the text 'Hello World' with color 4 which is red by default and background color 12 which is blue by default. |
||
23 | //echo -ag $chr(3) $+ 3,12 Hello world |
||
24 | </pre> |
||
25 | |||
26 | 2 | Per Amundsen | h1. Boldchar |
27 | |||
28 | [[$chr]](2) - Ctrl + B - Makes the block bold. |
||
29 | |||
30 | h1. Italicchar |
||
31 | |||
32 | [[$chr]](29) - Ctrl + I - Makes the block italic. |
||
33 | |||
34 | h1. Underlinechar |
||
35 | |||
36 | [[$chr]](31) - Ctrl + U - Makes the block underline. |
||
37 | |||
38 | h1. Stopchar |
||
39 | |||
40 | [[$chr]](15) - Ctrl + O - Stops all formatting. |
||
41 | |||
42 | Alternative colorchar |
||
43 | |||
44 | [[$chr]](61442) - Alternative way to show any color.h1. |