Project

General

Profile

Actions

Color » History » Revision 5

« Previous | Revision 5/9 (diff) | Next »
Per Amundsen, 11/09/2018 09:47 PM


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.

See also $color, $ocolor.

Switches

-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

<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-16 mirc colors.
/color -b 43 $rgb(255,0,0)
/echo -ag part color is $ocolor(44)

Updated by Per Amundsen over 5 years ago · 5 revisions

Also available in: PDF HTML TXT