Iline » History » Version 7
  Per Amundsen, 03/27/2021 05:43 PM 
  
| 1 | 1 | Per Amundsen | _Added in 2.2_  | 
|---|---|---|---|
| 2 | |||
| 3 | 6 | Per Amundsen | */iline [-ahilnpsbTNSW] [color] <@name> <N> <text>*  | 
| 4 | 1 | Per Amundsen | |
| 5 | Inserts <text> into the Nth line in a custom window named <@name>.  | 
||
| 6 | |||
| 7 | *Switches*  | 
||
| 8 | |||
| 9 | -a - Selects the newly added item while keeping the old selection in a listbox  | 
||
| 10 | 7 | Per Amundsen | -h - Highlights the window's node in the [[Treebar_Control|Treebar]]/[[Switchbar_Control|Switchbar]] is the window is minimized  | 
| 11 | 1 | Per Amundsen | -iN - Indents the wrapped line by N characters.  | 
| 12 | -l - Specify the action to take place on the side-listbox  | 
||
| 13 | -n - Prevent the line from being added if it already exists  | 
||
| 14 | 4 | Per Amundsen | -p - *TODO*  | 
| 15 | 1 | Per Amundsen | -s - Clears the old selection in a listbox and selects the newly added item  | 
| 16 | 4 | Per Amundsen | -b - Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)*  | 
| 17 | -TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. *(AdiIRC only)*  | 
||
| 18 | 5 | Per Amundsen | -S - Use status window. *(AdiIRC only)*  | 
| 19 | -W - Allow using a channel or query window name for @name. *(AdiIRC only)*  | 
||
| 20 | 1 | Per Amundsen | |
| 21 | *Parameters*  | 
||
| 22 | |||
| 23 | [color] - Line color number.  | 
||
| 24 | <@name> - The custom window name.  | 
||
| 25 | <N> - The line number to insert the text at.  | 
||
| 26 | <text> - The text to add.  | 
||
| 27 | |||
| 28 | *Example*  | 
||
| 29 | |||
| 30 | <pre>  | 
||
| 31 | ; Open a custom window.  | 
||
| 32 | /window -de @Example  | 
||
| 33 | |||
| 34 | ; Add 3 blue colored lines.  | 
||
| 35 | /aline 12 @Example Line1  | 
||
| 36 | /aline 12 @Example Line2  | 
||
| 37 | /aline 12 @Example Line3  | 
||
| 38 | |||
| 39 | ; Insert a red colored lines at line number 2  | 
||
| 40 | /iline 4 @Example 2 Line4  | 
||
| 41 | </pre>  |