Project

General

Profile

Aline » History » Version 17

Per Amundsen, 03/27/2021 05:54 PM

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