Actions
Added in 1.9.4
/color <name> <N|RGB>
/color <N> <RGB>
/color -lrs [N/scheme name]
Allows you to change the color settings for items in the Colors dialog.
Switches
Switch | Description |
-b | Indicates the <N> after <name> is a rgb value. (AdiIRC only) |
-l | Reloads colors from the config file. |
-r | Resets the color to default value. |
-s | TODO |
Parameters
Parameter | Description |
<N> | The Nth color to change, in AdiIRC this can be from 1 to 82. |
<RGB> | New RGB values to be used. |
<name> | Name or the color to change. |
[Scheme name] | TODO |
Example
; Print a text using color 3 /echo 3 -ag Hello world ; Change color 3 to $rgb value 1905919 (notice the 'Hello world' color) //color 3 $rgb(255, 20, 29) ; Reset color 3 to default value (notice the 'Hello world' color) /color -r 3 ; Change the join color to another color index. /color join 3 ; Change the join color to a rgb value. //color join $rgb(255, 20, 29) ; Reset join color /color -r join ; /color can also be used to change other colors in the config file ; Change the part color to red ; Notice it uses 43 instead of 44, it does +1 internally to work with 0-15 mirc colors. /color -b 43 $rgb(255,0,0) //echo -ag part color is $ocolor(44)
Updated by Per Amundsen almost 2 years ago · 9 revisions