Project

General

Profile

Echox » History » Version 20

Per Amundsen, 02/09/2017 10:52 PM

1 1 Per Amundsen
_Added in 1.9.3_
2
3 20 Per Amundsen
*/echox [color] [-abcdefghiNlmnqrstNuvwNINSB] [color name] [window] %var*
4 1 Per Amundsen
5 17 Per Amundsen
Prints text in the specified window using the specified color (0 to 35).
6 3 Per Amundsen
7 1 Per Amundsen
Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces.
8
9 19 Per Amundsen
_See also [[$msgx]]._
10
11 1 Per Amundsen
*Switches*
12
13
-a - Prints to the current active window.
14
-b - Apply beep options.
15
-c - Indicates [color] is a color name.
16
-d - TODO
17
-e - Encloses the line in line separators.
18
-f - Apply flash options.
19
-g - Prevents the echo from being logged.
20
-h - TODO
21 4 Per Amundsen
-iN - Indents the wrapped line by N characters.
22 1 Per Amundsen
-l - Apply highlight options.
23 13 Mr. BS
-m - This echo should be treated as a normal message.
24 18 Per Amundsen
-n - Prevents the echo from highlighting the window Treebar/Switchbar icon.
25 1 Per Amundsen
-q - Don't print if called from a alias using the . prefix.
26
-r - Apply strip colors/bold/italic/underline options.
27
-s - Prints to the status/server window associated with current window.
28 12 Per Amundsen
-tN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp.
29 6 Per Amundsen
-u - Disables using first word as prefix for nick column.
30 1 Per Amundsen
-v - Treats first word as a timestamp.
31
-wN - 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.
32 14 Per Amundsen
-IN - Inserts the line at position N in the buffer. (AdiIRC only)
33
-S - Used with --IN to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only)
34 1 Per Amundsen
-RB - Replaces the line at position N in the buffer. (AdiIRC only)
35 20 Per Amundsen
-b - Indicates the [color] color is in [[$rgb]] format. (AdiIRC only)
36 1 Per Amundsen
37
*Parameters*
38
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
%var - The variable to evaluate and print.
43
44
*Example*
45
46
<pre>
47 16 Per Amundsen
; Create a variable with the text a    b.
48 1 Per Amundsen
/var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b
49 5 Per Amundsen
50 16 Per Amundsen
; Prints the variable to current active window.
51 2 Per Amundsen
/echox -a %var
52 1 Per Amundsen
</pre>