Cline » History » Version 12
Per Amundsen, 06/02/2016 03:02 AM
1 | 2 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | 12 | Per Amundsen | */cline [-bhlmr] [c|nick] <@name> <N>* |
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 | 1 | Per Amundsen | |
17 | *Parameters* |
||
18 | |||
19 | [c] - Optional line color. |
||
20 | <@name> - Custom window name. |
||
21 | 6 | Per Amundsen | <N> - Line number to color. |
22 | 1 | Per Amundsen | |
23 | *Example* |
||
24 | <pre> |
||
25 | alias example { |
||
26 | 9 | Per Amundsen | ; Open a custom window. |
27 | 8 | Per Amundsen | /window @Example |
28 | 1 | Per Amundsen | |
29 | 8 | Per Amundsen | ; Add a 'Hello World' line to the custom window. |
30 | /aline @Example Hello World |
||
31 | 1 | Per Amundsen | |
32 | 8 | Per Amundsen | ; Change the color of the first line to red (4). |
33 | /cline 4 @Example 1 |
||
34 | 11 | Per Amundsen | |
35 | ; Change the color of the first line to rgb color blue |
||
36 | /cline -b $rgb(0,0,255) 1 |
||
37 | 1 | Per Amundsen | } |
38 | </pre> |