Project

General

Profile

Rline » History » Revision 8

Revision 7 (Per Amundsen, 12/13/2019 09:11 PM) → Revision 8/9 (Per Amundsen, 01/24/2020 11:57 PM)

_Added in 1.9.5_ 

 */rline [-ahslbTNSW] [-ahslbTN] [c] <@name> <N> <text>*  

 Replaces the Nth line in any window with a new line.  

 *Switches* 

 -a - Selects the newly added item while keeping the old selection in a listbox. 
 -h - Highlights the window's node in the treebar is the window is not active. 
 -s - Clears the old selection in a listbox and selects the newly added item. 
 -l - Specify the action to take place on the side-listbox, 
 -b - Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)* 
 -TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. *(AdiIRC only)* 
 -S - Use status window. *(AdiIRC only)* 
 -W - Allow using a channel or query window name for @name. *(AdiIRC only)* 

 *Parameter* 

 [c] - An optional color number for the line  
 <@name> - Name of the window. 
 <N> - The line to change. 
 <text> - Text to insert. 

 *Example* 

 <pre> 
 alias example { 
   ; Open a custom window. 
   /window -de @Example 
 
   ; Add a line with the text 'Line A'. 
   /aline @Example Line A 
 
   ; Add a line with the text 'Line B'. 
   /aline @Example Line B 

   ; Add a line with the text 'Line C'. 
   /aline @Example Line C 

   ; Change the text of the second line to 'Line D'. 
   /dline @Example 2 Line D 
 } 

 </pre>