From WikiChip
$colour Identifier - mIRC
< mirc‎ | identifiers
Revision as of 08:54, 12 June 2017 by Westor (talk | contribs) (Created page with "{{mirc title|$colour Identifier}}The '''$colour''' identifier allows mIRC to return the proper color code associated with the specified target. (same as $color) == Synopsis =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $colour identifier allows mIRC to return the proper color code associated with the specified target. (same as $color)

Synopsis

$colour(name/N)[.property]

Parameters

name Returns the color code for the specified name/action/event. Partial matches work as well: $colour(action)
N Specifies that the color code to be looked up is the RGB value for a specific color box target from the CTRL+K list.

Properties

dd Allows the color codes to be returned in double-digit format, eg: 02 instead of 2. Does not work on RGB-returned values.

Examples

Echo the color code for action events:

//echo -a $colour(action)

Echo the RGB code for the 4th color box:

//echo -a $colour(4)

Compatibility

Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list