Project

General

Profile

Echox » History » Version 5

Per Amundsen, 06/27/2014 02:16 PM

1 1 Per Amundsen
_Added in 1.9.3_
2
3
*/echox [color] [-abcdefghiNlmnqrst] [color name] [window] %var*
4
5
Prints text in the specified window using the specified color (0 to 37).
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
*Switches*
10
11
-a - Prints to the current active window.
12
-b - Apply beep options.
13
-c - Indicates [color] is a color name.
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 4 Per Amundsen
-iN - Indents the wrapped line by N characters.
20 1 Per Amundsen
-l - Apply highlight options.
21
-m - This echo should be threated as a normal message.
22
-n - Prevents the echo from highlighting the window sidebar/channelbar 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 - Apply timestamp prefix options.
27
28
*Parameters*
29
30
[color] - A numeric color value to use as line color (0 to 37).
31
[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.
32
[window] - The target window.
33
%var - The variable to evaluate and print.
34
35
*Example*
36
37
<pre>
38
;Create a variable with the text a    b
39
/var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b
40 5 Per Amundsen
41 1 Per Amundsen
;Prints the variable to current active window.
42 2 Per Amundsen
/echox -a %var
43 1 Per Amundsen
</pre>