Project

General

Profile

Cline » History » Version 15

Per Amundsen, 12/14/2019 09:45 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 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
-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 15 Per Amundsen
<N|nick> - Line number or matching side-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>