Echo » History » Version 35
Per Amundsen, 02/04/2019 09:07 PM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | 21 | Per Amundsen | */echo [color] [-abcdefghi<N>lmnqrstNuvw<N>I<N>SR<N>B] [color name] [window] <text>* |
4 | 1 | Per Amundsen | |
5 | 32 | Per Amundsen | Prints text in the specified window using the specified color (0 to 99). |
6 | 1 | Per Amundsen | |
7 | *Switches* |
||
8 | |||
9 | 24 | Mr. BS | table(ktable). |
10 | 25 | Mr. BS | |_<.Switch|_<.Description| |
11 | | -a | Prints to the current active window. | |
||
12 | | -b | Apply beep options. | |
||
13 | | -c | Indicates [color name] is defined after the switches. (not [color]) | |
||
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 | | -i<N> | Indents the wrapped line by N characters. | |
||
20 | | -l | Apply highlight options. | |
||
21 | | -m | This echo should be treated as a normal message. | |
||
22 | | -n | Prevents the echo from highlighting the window Treebar/Switchbar 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 | | -t<N> | Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. | |
||
27 | 26 | Per Amundsen | | -u | Indicates the first word is *not* a nick column prefix. | |
28 | | -v | Indicates the first word/token is a timestamp. | |
||
29 | 25 | Mr. BS | | -w<N> | 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 | | -I<N> | Inserts the line at position N in the buffer. (AdiIRC only) | |
||
31 | 31 | Per Amundsen | | -S | Used with -I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only) | |
32 | 25 | Mr. BS | | -R<N> | Replaces the line at position N in the buffer. (AdiIRC only) | |
33 | 34 | Per Amundsen | | -B | Indicates the [color] color is in [[$rgb]] format. (AdiIRC only, see also [[$ocolor]]) | |
34 | 21 | Per Amundsen | |
35 | 1 | Per Amundsen | *Parameters* |
36 | |||
37 | 24 | Mr. BS | table(ktable). |
38 | |_<.Parameter|_<.Description| |
||
39 | 33 | Per Amundsen | | [color] | A numeric color value to use as line color (0 to 99). | |
40 | 24 | Mr. BS | | [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. | |
41 | 35 | Per Amundsen | | [window] | The target window. (any window with a text area) | |
42 | 24 | Mr. BS | | <text> | The text to print. | |
43 | 1 | Per Amundsen | |
44 | *Example* |
||
45 | |||
46 | 22 | Per Amundsen | <pre> |
47 | 1 | Per Amundsen | ; Prints 'Hello World!' to current active window. |
48 | /echo -a Hello World! |
||
49 | 30 | Per Amundsen | |
50 | ; Prints 'Hello World!' to the target window during a event. |
||
51 | /echo $target Hello World! |
||
52 | 1 | Per Amundsen | </pre> |