Project

General

Profile

Echo » History » Version 25

Mr. BS, 03/07/2017 07:09 PM

1 24 Mr. BS
{{css
2
.ktable{width:99%}.ktable td:nth-child(1){width:80px}.ktable tr:not(:first-child):hover{background-color:#ffffdd}.ktable td{border-bottom:none!important;border-top:none!important}
3
}}
4
5 1 Per Amundsen
_Added in 1.8.10_
6
7 21 Per Amundsen
*/echo [color] [-abcdefghi<N>lmnqrstNuvw<N>I<N>SR<N>B] [color name] [window] &lt;text&gt;*
8 1 Per Amundsen
9
Prints text in the specified window using the specified color (0 to 35).
10
11
*Switches*
12
13 24 Mr. BS
table(ktable).
14 25 Mr. BS
|_<.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
| -d | TODO |
19
| -e | Encloses the line in line separators. |
20
| -f | Apply flash options. |
21
| -g | Prevents the echo from being logged. |
22
| -h | TODO |
23
| -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 | Disables using first word as prefix for nick column. |
32
| -v | Treats first word as 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
| -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 Per Amundsen
39 1 Per Amundsen
*Parameters*
40
41 24 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 22 Per Amundsen
<pre>
51 1 Per Amundsen
; Prints 'Hello World!' to current active window.
52
/echo -a Hello World!
53
</pre>