Echox » History » Version 16
Per Amundsen, 01/18/2017 06:21 AM
1 | 1 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | 14 | Per Amundsen | */echox [color] [-abcdefghiNlmnqrstNuvwNINS] [color name] [window] %var* |
4 | 1 | Per Amundsen | |
5 | Prints text in the specified window using the specified color (0 to 37). |
||
6 | 3 | Per Amundsen | |
7 | 1 | Per Amundsen | Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces. |
8 | |||
9 | *Switches* |
||
10 | |||
11 | -a - Prints to the current active window. |
||
12 | -b - Apply beep options. |
||
13 | -c - Indicates [color] is a color name. |
||
14 | -d - TODO |
||
15 | -e - Encloses the line in line separators. |
||
16 | -f - Apply flash options. |
||
17 | -g - Prevents the echo from being logged. |
||
18 | -h - TODO |
||
19 | 4 | Per Amundsen | -iN - Indents the wrapped line by N characters. |
20 | 1 | Per Amundsen | -l - Apply highlight options. |
21 | 13 | Mr. BS | -m - This echo should be treated as a normal message. |
22 | 1 | Per Amundsen | -n - Prevents the echo from highlighting the window sidebar/channelbar icon. |
23 | -q - Don't print if called from a alias using the . prefix. |
||
24 | -r - Apply strip colors/bold/italic/underline options. |
||
25 | -s - Prints to the status/server window associated with current window. |
||
26 | 12 | Per Amundsen | -tN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. |
27 | 6 | Per Amundsen | -u - Disables using first word as prefix for nick column. |
28 | 1 | Per Amundsen | -v - Treats first word as a timestamp. |
29 | -wN - if N = 0, replaces emoticon tags in all token except the first one, N = 1, replaces only the first token, N = 2, replaces all tokens. |
||
30 | 14 | Per Amundsen | -IN - Inserts the line at position N in the buffer. (AdiIRC only) |
31 | -S - Used with --IN to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only) |
||
32 | 15 | Per Amundsen | -RB - Replaces the line at position N in the buffer. (AdiIRC only) |
33 | 1 | Per Amundsen | |
34 | *Parameters* |
||
35 | |||
36 | [color] - A numeric color value to use as line color (0 to 37). |
||
37 | [color name] - Used with the -c switch. One of the following: Action, ctcp, highlight, info, info2, invite, join, part, quit, kick, mode, topic, nick, normal, notice, notify, other, own, wallops, whois. |
||
38 | [window] - The target window. |
||
39 | %var - The variable to evaluate and print. |
||
40 | |||
41 | *Example* |
||
42 | |||
43 | <pre> |
||
44 | 16 | Per Amundsen | ; Create a variable with the text a b. |
45 | 1 | Per Amundsen | /var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b |
46 | 5 | Per Amundsen | |
47 | 16 | Per Amundsen | ; Prints the variable to current active window. |
48 | 2 | Per Amundsen | /echox -a %var |
49 | 1 | Per Amundsen | </pre> |