Project

General

Profile

Echo » History » Revision 24

Revision 23 (Per Amundsen, 03/07/2017 06:39 PM) → Revision 24/44 (Mr. BS, 03/07/2017 07:07 PM)

{{css 
 .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} 
 }} 

 _Added in 1.8.10_ 

 */echo [color] [-abcdefghi<N>lmnqrstNuvw<N>I<N>SR<N>B] [color name] [window] &lt;text&gt;* 

 Prints text in the specified window using the specified color (0 to 35). 

 *Switches* 

 table(ktable). 
 |_<.Switche|_<.Description| 
 | a | -a - Prints to the current active window. | 
 | b | -b - Apply beep options. | 
 | c | -c - Indicates [color name] is defined after the switches. (not [color]) | 
 | d | -d - TODO | 
 | e | -e - Encloses the line in line separators. | 
 | f | -f - Apply flash options. | 
 | g | -g - Prevents the echo from being logged. | 
 | h | -h - TODO | 
 | i<N> | -i<N> - Indents the wrapped line by N characters. | 
 | l | -l - Apply highlight options. | 
 | m | -m - This echo should be treated as a normal message. | 
 | n | -n - Prevents the echo from highlighting the window Treebar/Switchbar icon. | 
 | q | -q - Don't print if called from a alias using the . prefix. | 
 | r | -r - Apply strip colors/bold/italic/underline options. | 
 | s | -s - Prints to the status/server window associated with current window. | 
 | t<N> | -t<N> - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. | 
 | u | -u - Disables using first word as prefix for nick column. | 
 | v | -v - Treats first word as a timestamp. | 
 | w<N> | -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. | 
 | I<N> | -I<N> - Inserts the line at position N in the buffer. (AdiIRC only) | 
 | S | -S - Used with --I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only) | 
 | R<N> | -R<N> - Replaces the line at position N in the buffer. (AdiIRC only) | 
 | B | -B - Indicates the [color] color is in [[$rgb]] format. (AdiIRC only) | 

 *Parameters* 

 table(ktable). 
 |_<.Parameter|_<.Description| 
 | [color] | - A numeric color value to use as line color (0 to 37). | 
 | [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. | 
 | [window] | - The target window. | 
 | &lt;text&gt; | - The text to print. | 

 *Example* 

 <pre> 
 ; Prints 'Hello World!' to current active window. 
 /echo -a Hello World! 
 </pre>