Rline » History » Version 7
Per Amundsen, 12/13/2019 09:11 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.5_ |
|---|---|---|---|
| 2 | |||
| 3 | 6 | Per Amundsen | */rline [-ahslbTN] [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 | -TN - Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. *(AdiIRC only)* |
||
| 15 | 1 | Per Amundsen | |
| 16 | *Parameter* |
||
| 17 | |||
| 18 | 2 | Per Amundsen | [c] - An optional color number for the line |
| 19 | 4 | Per Amundsen | <@name> - Name of the window. |
| 20 | 1 | Per Amundsen | <N> - The line to change. |
| 21 | <text> - Text to insert. |
||
| 22 | |||
| 23 | *Example* |
||
| 24 | |||
| 25 | <pre> |
||
| 26 | alias example { |
||
| 27 | 3 | Per Amundsen | ; Open a custom window. |
| 28 | /window -de @Example |
||
| 29 | 1 | Per Amundsen | |
| 30 | 3 | Per Amundsen | ; Add a line with the text 'Line A'. |
| 31 | /aline @Example Line A |
||
| 32 | 1 | Per Amundsen | |
| 33 | 3 | Per Amundsen | ; Add a line with the text 'Line B'. |
| 34 | /aline @Example Line B |
||
| 35 | 1 | Per Amundsen | |
| 36 | 3 | Per Amundsen | ; Add a line with the text 'Line C'. |
| 37 | /aline @Example Line C |
||
| 38 | 1 | Per Amundsen | |
| 39 | 3 | Per Amundsen | ; Change the text of the second line to 'Line D'. |
| 40 | /dline @Example 2 Line D |
||
| 41 | 1 | Per Amundsen | } |
| 42 | |||
| 43 | </pre> |