Aline » History » Version 18
Per Amundsen, 02/14/2023 09:07 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 15 | Per Amundsen | */aline [-ahilnpsbTNSW] [color] <@name> <text>* |
4 | 1 | Per Amundsen | |
5 | Add <text> into custom window named <@name>. |
||
6 | |||
7 | 2 | Per Amundsen | *Switches* |
8 | |||
9 | 18 | Per Amundsen | table(ktable). |
10 | |*Switch*|*Description*| |
||
11 | | -a | Selects the newly added item while keeping the old selection in a side-listbox. | |
||
12 | | -h | Highlights the window's node in the [[Switchbar_Control|Switchbar]]/[[Treebar_Control|Treebar]] is the window is minimized. | |
||
13 | | -iN | Indents the wrapped line by N characters. | |
||
14 | | -l | Specify the action to take place on the side-listbox. | |
||
15 | | -n | Prevent the line from being added if it already exists. | |
||
16 | | -p | *TODO* *(AdiIRC always wraps lines)*. | |
||
17 | | -s | Clears the old selection in a side-listbox and selects the newly added item. | |
||
18 | | -b | Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)* | |
||
19 | | -TN | Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. *(AdiIRC only)* | |
||
20 | | -S | Use status window. *(AdiIRC only)* | |
||
21 | | -W | Allow using a channel or query window name for @name. *(AdiIRC only)* | |
||
22 | 15 | Per Amundsen | |
23 | *Parameters* |
||
24 | 2 | Per Amundsen | |
25 | 18 | Per Amundsen | table(ktable). |
26 | |*Parameter*|*Description*| |
||
27 | | [color] | Line color number. | |
||
28 | | <@name> | The custom window name. | |
||
29 | | <text> | The text to add. | |
||
30 | 3 | Per Amundsen | |
31 | *Example* |
||
32 | 6 | Per Amundsen | |
33 | 3 | Per Amundsen | <pre> |
34 | 11 | Per Amundsen | ; Open a custom window. |
35 | /window -de @Example |
||
36 | 3 | Per Amundsen | |
37 | 11 | Per Amundsen | ; Add a blue colored line. |
38 | /aline 12 @Example Hello world |
||
39 | 3 | Per Amundsen | </pre> |