Project

General

Profile

Echox » History » Revision 22

Revision 21 (Mr. BS, 02/15/2017 11:09 AM) → Revision 22/26 (Mr. BS, 03/07/2017 07:40 PM)

{{css 
 .ktable{width:99%}.ktable td{border-bottom:none!important;border-top:none!important}.ktable th:nth-child(1){min-width:130px} 
 }} 

 _Added in 1.9.3_ 

 */echox [color] [-abcdefghiNlmnqrstNuvwNINSB] [color name] [window] %var* 

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

 Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces. 

 _See also [[$msgx]]._ 

 *Switches* 

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

 *Example* 

 <pre> 
 ; Create a variable with the text a      b. 
 /var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b 

 ; Prints the variable to current active window. 
 /echox -a %var 
 </pre>