Project

General

Profile

Dline » History » Version 5

Per Amundsen, 01/24/2020 11:57 PM

1 1 Per Amundsen
_Added in 1.9.1_
2
3 5 Per Amundsen
*/dline [-hlSW] <@name> <N[-N2]>*
4 1 Per Amundsen
5
Deletes the Nth line through N2th line in a custom window.
6
7
*Switches*
8
9 4 Per Amundsen
-h - Highlights the window's node in the treebar if the window is not active.
10 1 Per Amundsen
-l - Specify the action to take place on the side-listbox.
11 5 Per Amundsen
-S - Use status window. *(AdiIRC only)*
12
-W - Allow using a channel or query window name for @name. *(AdiIRC only)*
13 1 Per Amundsen
14
*Parameter*
15
16
<@name> - Name of the custom window.
17 2 Per Amundsen
<N[-N2]> - The range to be deleted, (negative values are not accepted)
18 1 Per Amundsen
19
*Example*
20
21
<pre>
22
alias example {
23
  ;Open a custom window.
24
  /window -de @Foo
25
 
26
  ;Add a line, line colored in yellow. (8)
27
  /aline 8 @Foo Line A
28
 
29 3 Per Amundsen
  ;Add a line, color Dark Green. (3)
30 1 Per Amundsen
  /aline 3 @Foo Line B
31
32 3 Per Amundsen
  ;Add a line, color Dark Green. (3)
33 1 Per Amundsen
  /aline -s 3 @Foo Line C
34
35 3 Per Amundsen
  ;Add a line, color Dark Green. (3)
36 1 Per Amundsen
  /aline -s 3 @Foo Line D
37
38 3 Per Amundsen
  ;Delete line 2 and 3 with range 2-3, only A D remain.
39 1 Per Amundsen
  /dline @Foo 2-3
40
}
41
42
</pre>