Project

General

Profile

Iline » History » Version 3

Per Amundsen, 02/03/2019 11:00 AM

1 1 Per Amundsen
_Added in 2.2_
2
3 3 Per Amundsen
*/iline [-ahilnpsbTN] [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
-h -  Highlights the window's node in the treebar/switchbar is the window is minimized 
11
-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
-p - TODO
15
-s - Clears the old selection in a listbox and selects the newly added item 
16
-b - Indicates the [c] color is in [[$rgb]] format. (AdiIRC only)
17 3 Per Amundsen
-TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. (AdiIRC only)
18 1 Per Amundsen
19
*Parameters*
20
21
[color] - Line color number.
22
<@name> - The custom window name.
23
<N> - The line number to insert the text at.
24
<text> - The text to add.
25
26
*Example*
27
28
<pre>
29
; Open a custom window.
30
/window -de @Example
31
 
32
; Add 3 blue colored lines.
33
/aline 12 @Example Line1
34
/aline 12 @Example Line2
35
/aline 12 @Example Line3
36
37
; Insert a red colored lines at line number 2
38
/iline 4 @Example 2 Line4
39
</pre>