Project

General

Profile

Colour » History » Version 4

Per Amundsen, 06/12/2016 07:22 AM

1 1 Per Amundsen
_Added in 1.9.4_
2
3
*/colour <name> <N|RGB>*
4
*/colour <N> <RGB>*
5
*/colour -lrs [N/scheme name]*
6
7
Allows you to change the color settings for items in the Colors dialog.
8
9
*Switches*
10
11
-b - Indicates the <N> after <name> is a rgb value. (AdiIRC only)
12 4 Per Amundsen
-l - Reloads colors from the config file.
13 1 Per Amundsen
-r - Resets the color to default value.
14
-s - TODO
15
16
*Parameters*
17
18 2 Per Amundsen
<N> - The Nth color to change, in AdiIRC this can be from 1 to 82.
19 1 Per Amundsen
<RGB> - New RGB values to be used.
20
<name> - Name or the color to change.
21
[Scheme name] - TODO
22
23
*Example*
24
25
<pre>
26 2 Per Amundsen
; Print a text using color 3
27 1 Per Amundsen
/echo 3 -ag Hello world
28
29 3 Per Amundsen
; Change color 3 to $rgb value 1905919 (notice the 'Hello world' color)
30 1 Per Amundsen
//colour 3 $rgb(255, 20, 29)
31
32 3 Per Amundsen
; Reset color 3 to default value (notice the 'Hello world' color)
33 1 Per Amundsen
/colour -r 3
34
35 2 Per Amundsen
; Change the join color to another color index.
36 1 Per Amundsen
/colour join 3
37
38 2 Per Amundsen
; Change the join color to a rgb value.
39 1 Per Amundsen
//colour join $rgb(255, 20, 29)
40
41 2 Per Amundsen
; Reset join color
42 1 Per Amundsen
/colour -r join
43
</pre>