Echo » History » Version 43
Per Amundsen, 06/14/2022 07:39 AM
1 | 1 | Per Amundsen | _Added in 1.8.10_ |
---|---|---|---|
2 | |||
3 | 42 | Per Amundsen | */echo [color] [-abcdefghi<N>lmnNqrstNuvw<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 | 37 | Per Amundsen | | -d | *TODO* | |
15 | 25 | Mr. BS | | -e | Encloses the line in line separators. | |
16 | | -f | Apply flash options. | |
||
17 | | -g | Prevents the echo from being logged. | |
||
18 | 37 | Per Amundsen | | -h | *TODO* | |
19 | 25 | Mr. BS | | -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 | 1 | Per Amundsen | | -n | Prevents the echo from highlighting the window [[Switchbar_Control|Switchbar]]/[[Treebar_Control|Treebar]] icon. | |
23 | 43 | Per Amundsen | | -N | Prevents adding [[Inline_Images_Options|inline images]] from urls in the text. *(AdiIRC only)* | |
24 | 25 | Mr. BS | | -q | Don't print if called from a alias using the . prefix. | |
25 | | -r | Apply strip colors/bold/italic/underline options. | |
||
26 | | -s | Prints to the status/server window associated with current window. | |
||
27 | | -t<N> | Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. | |
||
28 | 26 | Per Amundsen | | -u | Indicates the first word is *not* a nick column prefix. | |
29 | | -v | Indicates the first word/token is a timestamp. | |
||
30 | 38 | Per Amundsen | | -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. *(AdiIRC only)* | |
31 | 36 | Per Amundsen | | -I<N> | Inserts the line at position N in the buffer. *(AdiIRC only)* | |
32 | | -S | Used with -I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. *(AdiIRC only)* | |
||
33 | | -R<N> | Replaces the line at position N in the buffer. *(AdiIRC only)* | |
||
34 | | -B | Indicates the [color] color is in [[$rgb]] format. *(AdiIRC only, see also [[$ocolor]])* | |
||
35 | 21 | Per Amundsen | |
36 | 1 | Per Amundsen | *Parameters* |
37 | |||
38 | 24 | Mr. BS | table(ktable). |
39 | |_<.Parameter|_<.Description| |
||
40 | 39 | Per Amundsen | | [color] | A numeric [[Extra_Colors|color value]] to use as line color (0 to 99). | |
41 | 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. | |
42 | 41 | Per Amundsen | | [window] | The target window. (any window with a [[TextArea Control|Text Area]]) | |
43 | 24 | Mr. BS | | <text> | The text to print. | |
44 | 1 | Per Amundsen | |
45 | *Example* |
||
46 | |||
47 | 22 | Per Amundsen | <pre> |
48 | 1 | Per Amundsen | ; Prints 'Hello World!' to current active window. |
49 | /echo -a Hello World! |
||
50 | 30 | Per Amundsen | |
51 | ; Prints 'Hello World!' to the target window during a event. |
||
52 | /echo $target Hello World! |
||
53 | 1 | Per Amundsen | </pre> |