Project

General

Profile

Iline » History » Version 2

Per Amundsen, 02/09/2017 10:51 PM

1 1 Per Amundsen
_Added in 2.2_
2
3 2 Per Amundsen
*/iline [-ahilnpsb] [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 2 Per Amundsen
-b - Indicates the [c] color is in [[$rgb]] format. (AdiIRC only)
17 1 Per Amundsen
18
*Parameters*
19
20
[color] - Line color number.
21
<@name> - The custom window name.
22
<N> - The line number to insert the text at.
23
<text> - The text to add.
24
25
*Example*
26
27
<pre>
28
; Open a custom window.
29
/window -de @Example
30
 
31
; Add 3 blue colored lines.
32
/aline 12 @Example Line1
33
/aline 12 @Example Line2
34
/aline 12 @Example Line3
35
36
; Insert a red colored lines at line number 2
37
/iline 4 @Example 2 Line4
38
</pre>