Project

General

Profile

Iline » History » Revision 3

Revision 2 (Per Amundsen, 02/09/2017 10:51 PM) → Revision 3/8 (Per Amundsen, 02/03/2019 11:00 AM)

_Added in 2.2_ 

 */iline [-ahilnpsbTN] [-ahilnpsb] [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) 
 -TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. (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>