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