Color » History » Version 6
Per Amundsen, 11/09/2018 09:51 PM
1 | 1 | Per Amundsen | _Added in 1.9.4_ |
---|---|---|---|
2 | |||
3 | */color <name> <N|RGB>* |
||
4 | */color <N> <RGB>* |
||
5 | */color -lrs [N/scheme name]* |
||
6 | |||
7 | Allows you to change the color settings for items in the Colors dialog. |
||
8 | |||
9 | 4 | Per Amundsen | _See also [[$color]], [[$ocolor]]._ |
10 | |||
11 | 1 | Per Amundsen | *Switches* |
12 | |||
13 | -b - Indicates the <N> after <name> is a rgb value. (AdiIRC only) |
||
14 | 3 | Per Amundsen | -l - Reloads colors from the config file. |
15 | 1 | Per Amundsen | -r - Resets the color to default value. |
16 | -s - TODO |
||
17 | |||
18 | *Parameters* |
||
19 | |||
20 | 2 | Per Amundsen | <N> - The Nth color to change, in AdiIRC this can be from 1 to 82. |
21 | 1 | Per Amundsen | <RGB> - New RGB values to be used. |
22 | <name> - Name or the color to change. |
||
23 | [Scheme name] - TODO |
||
24 | |||
25 | *Example* |
||
26 | |||
27 | <pre> |
||
28 | 2 | Per Amundsen | ; Print a text using color 3 |
29 | 1 | Per Amundsen | /echo 3 -ag Hello world |
30 | |||
31 | 2 | Per Amundsen | ; Change color 3 to $rgb value 1905919 (notice the 'Hello world' color) |
32 | 1 | Per Amundsen | //color 3 $rgb(255, 20, 29) |
33 | |||
34 | 2 | Per Amundsen | ; Reset color 3 to default value (notice the 'Hello world' color) |
35 | 1 | Per Amundsen | /color -r 3 |
36 | |||
37 | 2 | Per Amundsen | ; Change the join color to another color index. |
38 | 1 | Per Amundsen | /color join 3 |
39 | |||
40 | 2 | Per Amundsen | ; Change the join color to a rgb value. |
41 | 1 | Per Amundsen | //color join $rgb(255, 20, 29) |
42 | |||
43 | 2 | Per Amundsen | ; Reset join color |
44 | 1 | Per Amundsen | /color -r join |
45 | 5 | Per Amundsen | |
46 | ; /color can also be used to change other colors in the config file |
||
47 | ; Change the part color to red |
||
48 | 6 | Per Amundsen | ; Notice it uses 43 instead of 44, it does +1 internally to work with 0-15 mirc colors. |
49 | 5 | Per Amundsen | /color -b 43 $rgb(255,0,0) |
50 | /echo -ag part color is $ocolor(44) |
||
51 | 1 | Per Amundsen | </pre> |