Colour » History » Version 6
Per Amundsen, 11/09/2018 09:50 PM
| 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 | 6 | Per Amundsen | _See also [[$color]], [[$ocolor]], [[Extra Colors]], [[Config File Colors]]._ |
| 10 | 5 | Per Amundsen | |
| 11 | 1 | Per Amundsen | *Switches* |
| 12 | |||
| 13 | -b - Indicates the <N> after <name> is a rgb value. (AdiIRC only) |
||
| 14 | 4 | 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 | 3 | Per Amundsen | ; Change color 3 to $rgb value 1905919 (notice the 'Hello world' color) |
| 32 | 1 | Per Amundsen | //colour 3 $rgb(255, 20, 29) |
| 33 | |||
| 34 | 3 | Per Amundsen | ; Reset color 3 to default value (notice the 'Hello world' color) |
| 35 | 1 | Per Amundsen | /colour -r 3 |
| 36 | |||
| 37 | 2 | Per Amundsen | ; Change the join color to another color index. |
| 38 | 1 | Per Amundsen | /colour join 3 |
| 39 | |||
| 40 | 2 | Per Amundsen | ; Change the join color to a rgb value. |
| 41 | 1 | Per Amundsen | //colour join $rgb(255, 20, 29) |
| 42 | |||
| 43 | 2 | Per Amundsen | ; Reset join color |
| 44 | 1 | Per Amundsen | /colour -r join |
| 45 | 5 | Per Amundsen | |
| 46 | ; /colour can also be used to change other colors in the config file |
||
| 47 | ; Change the part color to red |
||
| 48 | ; Notice it uses 43 instead of 44, it does +1 internally to work with 0-16 mirc colors. |
||
| 49 | /colour -b 43 $rgb(255,0,0) |
||
| 50 | /echo -ag part color is $ocolor(44) |
||
| 51 | 1 | Per Amundsen | </pre> |