Project

General

Profile

Echo » History » Version 21

Per Amundsen, 02/09/2017 10:51 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 17 Per Amundsen
Prints text in the specified window using the specified color (0 to 35).
6 1 Per Amundsen
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 18 Per Amundsen
-i<N> - Indents the wrapped line by N characters.
18 2 Per Amundsen
-l - Apply highlight options.
19 13 Mr. BS
-m - This echo should be treated as a normal message.
20 20 Per Amundsen
-n - Prevents the echo from highlighting the window Treebar/Switchbar icon.
21 2 Per Amundsen
-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 18 Per Amundsen
-t<N> - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp.
25 6 Per Amundsen
-u - Disables using first word as prefix for nick column.
26 1 Per Amundsen
-v - Treats first word as a timestamp.
27 18 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.
28
-I<N> - Inserts the line at position N in the buffer. (AdiIRC only)
29 19 Per Amundsen
-S - Used with --I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only)
30 1 Per Amundsen
-R<N> - Replaces the line at position N in the buffer. (AdiIRC only)
31 21 Per Amundsen
-B - Indicates the [color] color is in [[$rgb]] format. (AdiIRC only)
32 1 Per Amundsen
33
*Parameters*
34
35
[color] - A numeric color value to use as line color (0 to 37).
36
[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.
37
[window] - The target window.
38
&lt;text&gt; - The text to print.
39
40
*Example*
41
42
<pre>
43 2 Per Amundsen
;Prints 'Hello World!' to current active window.
44 1 Per Amundsen
/echo -a Hello World!
45
</pre>