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