Project

General

Profile

Echox » History » Version 25

Per Amundsen, 12/14/2019 08:11 AM

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
_See also [[$msgx]]._
10
11
*Switches*
12
13 22 Mr. BS
table(ktable).
14
|_<.Switch|_<.Description|
15
| -a | Prints to the current active window. |
16
| -b | Apply beep options. |
17
| -c | Indicates [color name] is defined after the switches. (not [color]) |
18 25 Per Amundsen
| -d | *TODO* |
19 22 Mr. BS
| -e | Encloses the line in line separators. |
20
| -f | Apply flash options. |
21
| -g | Prevents the echo from being logged. |
22 25 Per Amundsen
| -h | *TODO* |
23 22 Mr. BS
| -i<N> | Indents the wrapped line by N characters. |
24
| -l | Apply highlight options. |
25
| -m | This echo should be treated as a normal message. |
26
| -n | Prevents the echo from highlighting the window Treebar/Switchbar icon. |
27
| -q | Don't print if called from a alias using the . prefix. |
28
| -r | Apply strip colors/bold/italic/underline options. |
29
| -s | Prints to the status/server window associated with current window. |
30
| -t<N> | Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. |
31
| -u | Indicates the first word is *not* a nick column prefix. |
32
| -v | Indicates the first word/token is a timestamp. |
33
| -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. |
34 25 Per Amundsen
| -I<N> | Inserts the line at position N in the buffer. *(AdiIRC only)* |
35
| -S | Used with --I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. *(AdiIRC only)* |
36
| -R<N> | Replaces the line at position N in the buffer. *(AdiIRC only)* |
37
| -B | Indicates the [color] color is in [[$rgb]] format. *(AdiIRC only)* |
38 21 Mr. BS
39 1 Per Amundsen
*Parameters*
40
41 22 Mr. BS
table(ktable).
42
|_<.Parameter|_<.Description|
43
| [color] | A numeric color value to use as line color (0 to 37). |
44
| [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. |
45
| [window] | The target window. |
46
| &lt;text&gt; | The text to print. |
47 1 Per Amundsen
48
*Example*
49
50 16 Per Amundsen
<pre>
51 1 Per Amundsen
; Create a variable with the text a    b.
52 5 Per Amundsen
/var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b
53 16 Per Amundsen
54 2 Per Amundsen
; Prints the variable to current active window.
55 1 Per Amundsen
/echox -a %var
56
</pre>