Cline » History » Version 20
Per Amundsen, 11/15/2023 06:37 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 | 19 | Per Amundsen | Changes the color of the Nth line or nick to color [c]. |
6 | 1 | Per Amundsen | |
7 | If [c] is not defined, the line will be reset to default color. |
||
8 | |||
9 | *Switches* |
||
10 | |||
11 | 18 | Per Amundsen | table(ktable). |
12 | |*Switch*|*Description*| |
||
13 | | -b | Indicates the [c] color is in [[$rgb]] format. *(AdiIRC only)* | |
||
14 | | -h | Highlights the window's button. (if window is not active) | |
||
15 | | -l | Apply to side-listbox. | |
||
16 | | -m | *TODO* | |
||
17 | | -r | Reset an item in the side-listbox to default; [c] parameter must be omitted. | |
||
18 | | -t | Apply to text buffer. *(AdiIRC only)* | |
||
19 | | -S | Use status window. *(AdiIRC only)* | |
||
20 | | -W | Allow using a channel or query window name for @name. *(AdiIRC only)* | |
||
21 | 16 | Per Amundsen | |
22 | *Parameters* |
||
23 | 1 | Per Amundsen | |
24 | 18 | Per Amundsen | table(ktable). |
25 | |*Parameter*|*Description*| |
||
26 | | [c] | Optional line color. | |
||
27 | | <@name> | Custom window name. | |
||
28 | 20 | Per Amundsen | | <notextile><N|nick></notextile> | Line number or matching side-listbox item/nick to color. | |
29 | 1 | Per Amundsen | |
30 | *Example* |
||
31 | <pre> |
||
32 | alias example { |
||
33 | 9 | Per Amundsen | ; Open a custom window. |
34 | 8 | Per Amundsen | /window @Example |
35 | 1 | Per Amundsen | |
36 | 8 | Per Amundsen | ; Add a 'Hello World' line to the custom window. |
37 | /aline @Example Hello World |
||
38 | 1 | Per Amundsen | |
39 | 8 | Per Amundsen | ; Change the color of the first line to red (4). |
40 | /cline 4 @Example 1 |
||
41 | 11 | Per Amundsen | |
42 | ; Change the color of the first line to rgb color blue |
||
43 | /cline -b $rgb(0,0,255) 1 |
||
44 | 1 | Per Amundsen | } |
45 | </pre> |