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