Rline » History » Version 8
Per Amundsen, 01/24/2020 11:57 PM
1 | 1 | Per Amundsen | _Added in 1.9.5_ |
---|---|---|---|
2 | |||
3 | 8 | Per Amundsen | */rline [-ahslbTNSW] [c] <@name> <N> <text>* |
4 | 1 | Per Amundsen | |
5 | 4 | Per Amundsen | Replaces the Nth line in any window with a new line. |
6 | 1 | Per Amundsen | |
7 | *Switches* |
||
8 | |||
9 | 2 | Per Amundsen | -a - Selects the newly added item while keeping the old selection in a listbox. |
10 | -h - Highlights the window's node in the treebar is the window is not active. |
||
11 | -s - Clears the old selection in a listbox and selects the newly added item. |
||
12 | 1 | Per Amundsen | -l - Specify the action to take place on the side-listbox, |
13 | 7 | Per Amundsen | -b - Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)* |
14 | 1 | Per Amundsen | -TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. *(AdiIRC only)* |
15 | 8 | Per Amundsen | -S - Use status window. *(AdiIRC only)* |
16 | -W - Allow using a channel or query window name for @name. *(AdiIRC only)* |
||
17 | 1 | Per Amundsen | |
18 | *Parameter* |
||
19 | |||
20 | 2 | Per Amundsen | [c] - An optional color number for the line |
21 | 4 | Per Amundsen | <@name> - Name of the window. |
22 | 1 | Per Amundsen | <N> - The line to change. |
23 | <text> - Text to insert. |
||
24 | |||
25 | *Example* |
||
26 | |||
27 | <pre> |
||
28 | alias example { |
||
29 | 3 | Per Amundsen | ; Open a custom window. |
30 | /window -de @Example |
||
31 | 1 | Per Amundsen | |
32 | 3 | Per Amundsen | ; Add a line with the text 'Line A'. |
33 | /aline @Example Line A |
||
34 | 1 | Per Amundsen | |
35 | 3 | Per Amundsen | ; Add a line with the text 'Line B'. |
36 | /aline @Example Line B |
||
37 | 1 | Per Amundsen | |
38 | 3 | Per Amundsen | ; Add a line with the text 'Line C'. |
39 | /aline @Example Line C |
||
40 | 1 | Per Amundsen | |
41 | 3 | Per Amundsen | ; Change the text of the second line to 'Line D'. |
42 | /dline @Example 2 Line D |
||
43 | 1 | Per Amundsen | } |
44 | |||
45 | </pre> |