Project

General

Profile

Echo » History » Version 29

Mr. BS, 03/07/2017 08:30 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] &lt;text&gt;*
4 1 Per Amundsen
5
Prints text in the specified window using the specified color (0 to 35).
6
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
| -S | Used with --I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only) |
32
| -R<N> | Replaces the line at position N in the buffer. (AdiIRC only) |
33
| -B | Indicates the [color] color is in [[$rgb]] format. (AdiIRC only) |
34 21 Per Amundsen
35 1 Per Amundsen
*Parameters*
36
37 24 Mr. BS
table(ktable).
38
|_<.Parameter|_<.Description|
39
| [color] | A numeric color value to use as line color (0 to 37). |
40
| [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
| [window] | The target window. |
42
| &lt;text&gt; | 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
</pre>