Project

General

Profile

Iline » History » Revision 2

Revision 1 (Per Amundsen, 11/26/2015 06:45 PM) → Revision 2/8 (Per Amundsen, 02/09/2017 10:51 PM)

_Added in 2.2_ 

 */iline [-ahilnpsb] [-ahilnps] [color] <@name> <N> <text>* 

 Inserts <text> into the Nth line in a custom window named <@name>. 

 *Switches* 

 -a - Selects the newly added item while keeping the old selection in a listbox  
 -h -    Highlights the window's node in the treebar/switchbar is the window is minimized  
 -iN - Indents the wrapped line by N characters. 
 -l - Specify the action to take place on the side-listbox  
 -n - Prevent the line from being added if it already exists  
 -p - TODO 
 -s - Clears the old selection in a listbox and selects the newly added item  
 -b - Indicates the [c] color is in [[$rgb]] format. (AdiIRC only) 

  

 *Parameters* 

 [color] - Line color number. 
 <@name> - The custom window name. 
 <N> - The line number to insert the text at. 
 <text> - The text to add. 

 *Example* 

 <pre> 
 ; Open a custom window. 
 /window -de @Example 
 
 ; Add 3 blue colored lines. 
 /aline 12 @Example Line1 
 /aline 12 @Example Line2 
 /aline 12 @Example Line3 

 ; Insert a red colored lines at line number 2 
 /iline 4 @Example 2 Line4 
 </pre>