Project

General

Profile

Echox » History » Revision 2

Revision 1 (Per Amundsen, 06/04/2014 12:30 AM) → Revision 2/26 (Per Amundsen, 06/07/2014 11:17 PM)

_Added in 1.9.3_ 

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

 Prints text in the specified window using the specified color (0 to 37). 
 Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces. 

 *Switches* 

 -a - Prints to the current active window. 
 -b - Apply beep options. 
 -c - Indicates [color] is 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 
 -iN - TODO 
 -l - Apply highlight options. 
 -m - This echo should be threated as a normal message. 
 -n - Prevents the echo from highlighting the window sidebar/channelbar 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 - Apply timestamp prefix options. 

 *Parameters* 

 [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. 
 %var - The 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 /echospaces -a %var 
 </pre>