Cline » History » Version 17
Per Amundsen, 09/01/2020 08:46 PM
1 | 2 | Per Amundsen | _Added in 1.9.3_ |
---|---|---|---|
2 | |||
3 | 17 | Per Amundsen | */cline [-bhlmrSW] [c] <#channel|@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 | 15 | 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 | 15 | Per Amundsen | -l - Apply to side-listbox. |
14 | -m - *TODO* |
||
15 | -r - Reset an item in the side-listbox to default; [c] parameter must be omitted. |
||
16 | 1 | Per Amundsen | -t - Apply to text buffer. *(AdiIRC only)* |
17 | 16 | Per Amundsen | -S - Use status window. *(AdiIRC only)* |
18 | -W - Allow using a channel or query window name for @name. *(AdiIRC only)* |
||
19 | 1 | Per Amundsen | |
20 | *Parameters* |
||
21 | |||
22 | [c] - Optional line color. |
||
23 | <@name> - Custom window name. |
||
24 | 15 | Per Amundsen | <N|nick> - Line number or matching side-listbox item to color. |
25 | 1 | Per Amundsen | |
26 | *Example* |
||
27 | <pre> |
||
28 | alias example { |
||
29 | 9 | Per Amundsen | ; Open a custom window. |
30 | 8 | Per Amundsen | /window @Example |
31 | 1 | Per Amundsen | |
32 | 8 | Per Amundsen | ; Add a 'Hello World' line to the custom window. |
33 | /aline @Example Hello World |
||
34 | 1 | Per Amundsen | |
35 | 8 | Per Amundsen | ; Change the color of the first line to red (4). |
36 | /cline 4 @Example 1 |
||
37 | 11 | Per Amundsen | |
38 | ; Change the color of the first line to rgb color blue |
||
39 | /cline -b $rgb(0,0,255) 1 |
||
40 | 1 | Per Amundsen | } |
41 | </pre> |