Cline » History » Version 14
Per Amundsen, 07/11/2016 01:34 AM
1 | 2 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | 13 | Per Amundsen | */cline [-bhlmr] [c] <@name> <N|nick>* |
4 | 1 | Per Amundsen | |
5 | Changes the color of the Nth line to color [c]. |
||
6 | |||
7 | If [c] is not defined, the line will be reset to default color. |
||
8 | |||
9 | *Switches* |
||
10 | |||
11 | 10 | Per Amundsen | -b - Indicates the [c] color is in [[$rgb]] format. (AdiIRC only) |
12 | 7 | Per Amundsen | -h - Highlights the window's button. (if window is not active) |
13 | -l - Apply to side listbox. |
||
14 | 6 | Per Amundsen | -m - TODO |
15 | 7 | Per Amundsen | -r - Reset an item in the listbox to default; [c] parm must be omitted |
16 | 14 | Per Amundsen | -t - Apply to text buffer. (AdiIRC only) |
17 | 1 | Per Amundsen | |
18 | *Parameters* |
||
19 | |||
20 | [c] - Optional line color. |
||
21 | <@name> - Custom window name. |
||
22 | 13 | Per Amundsen | <N|nick> - Line number or matching listbox item to color. |
23 | 1 | Per Amundsen | |
24 | *Example* |
||
25 | <pre> |
||
26 | alias example { |
||
27 | 9 | Per Amundsen | ; Open a custom window. |
28 | 8 | Per Amundsen | /window @Example |
29 | 1 | Per Amundsen | |
30 | 8 | Per Amundsen | ; Add a 'Hello World' line to the custom window. |
31 | /aline @Example Hello World |
||
32 | 1 | Per Amundsen | |
33 | 8 | Per Amundsen | ; Change the color of the first line to red (4). |
34 | /cline 4 @Example 1 |
||
35 | 11 | Per Amundsen | |
36 | ; Change the color of the first line to rgb color blue |
||
37 | /cline -b $rgb(0,0,255) 1 |
||
38 | 1 | Per Amundsen | } |
39 | </pre> |