Echox » History » Version 2
Per Amundsen, 06/07/2014 11:17 PM
1 | 1 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | */echox [color] [-abcdefghiNlmnqrst] [color name] [window] %var* |
||
4 | |||
5 | Prints text in the specified window using the specified color (0 to 37). |
||
6 | Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces. |
||
7 | |||
8 | *Switches* |
||
9 | |||
10 | -a - Prints to the current active window. |
||
11 | -b - Apply beep options. |
||
12 | -c - Indicates [color] is a color name. |
||
13 | -d - TODO |
||
14 | -e - Encloses the line in line separators. |
||
15 | -f - Apply flash options. |
||
16 | -g - Prevents the echo from being logged. |
||
17 | -h - TODO |
||
18 | -iN - TODO |
||
19 | -l - Apply highlight options. |
||
20 | -m - This echo should be threated as a normal message. |
||
21 | -n - Prevents the echo from highlighting the window sidebar/channelbar icon. |
||
22 | -q - Don't print if called from a alias using the . prefix. |
||
23 | -r - Apply strip colors/bold/italic/underline options. |
||
24 | -s - Prints to the status/server window associated with current window. |
||
25 | -t - Apply timestamp prefix options. |
||
26 | |||
27 | *Parameters* |
||
28 | |||
29 | [color] - A numeric color value to use as line color (0 to 37). |
||
30 | [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. |
||
31 | [window] - The target window. |
||
32 | %var - The variable to evaluate and print. |
||
33 | |||
34 | *Example* |
||
35 | |||
36 | <pre> |
||
37 | ;Create a variable with the text a b |
||
38 | /var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b |
||
39 | ;Prints the variable to current active window. |
||
40 | 2 | Per Amundsen | /echox -a %var |
41 | 1 | Per Amundsen | </pre> |