Project

General

Profile

Iline » History » Version 8

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