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