Formatting text » History » Version 7
Per Amundsen, 05/17/2015 02:26 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 | 7 | Per Amundsen | Ascii character [[$chr]](3) |
12 | 4 | Per Amundsen | |
13 | Ctrl + K can be used in editbox to type this character. |
||
14 | |||
15 | 7 | Per Amundsen | The character can be follow by 1-2 digits that represent the color number. |
16 | 1 | Per Amundsen | |
17 | 7 | Per Amundsen | By specifying a comma after the digits, you can add a 1-2 digit background color as well. |
18 | |||
19 | The default colors can be changed in Options -> Colors -> mIRC Colors. |
||
20 | |||
21 | 6 | Per Amundsen | *Example* |
22 | <pre> |
||
23 | ; Prints the text 'Hello World' with color 4 which is red by default. |
||
24 | //echo -ag $chr(3) $+ 3 Hello world |
||
25 | |||
26 | ; Prints the text 'Hello World' with color 4 which is red by default and background color 12 which is blue by default. |
||
27 | //echo -ag $chr(3) $+ 3,12 Hello world |
||
28 | </pre> |
||
29 | 1 | Per Amundsen | |
30 | 2 | Per Amundsen | h1. Boldchar |
31 | 1 | Per Amundsen | |
32 | 7 | Per Amundsen | Makes the block use a *bold* font. |
33 | 1 | Per Amundsen | |
34 | 7 | Per Amundsen | Ascii character [[$chr]](2) |
35 | |||
36 | Ctrl + B can be used in editbox to type this character. |
||
37 | |||
38 | 1 | Per Amundsen | h1. Italicchar |
39 | |||
40 | 7 | Per Amundsen | Makes the block use a _italic_ font. |
41 | 1 | Per Amundsen | |
42 | 7 | Per Amundsen | Ascii character [[$chr]](29) |
43 | |||
44 | Ctrl + I can be used in editbox to type this character. |
||
45 | |||
46 | 1 | Per Amundsen | h1. Underlinechar |
47 | |||
48 | 7 | Per Amundsen | Makes the block use a +underline+ font. |
49 | |||
50 | Ascii character [[$chr]](31) |
||
51 | |||
52 | Ctrl + U can be used in editbox to type this character |
||
53 | 2 | Per Amundsen | |
54 | h1. Stopchar |
||
55 | |||
56 | [[$chr]](15) - Ctrl + O - Stops all formatting. |
||
57 | |||
58 | Alternative colorchar |
||
59 | |||
60 | [[$chr]](61442) - Alternative way to show any color.h1. |