-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
$colour Identifier - mIRC
< mirc | identifiers
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
- mIRC Installation
- Virtual profile
- Playing music
- Unicode
- IPv6
- Optimization
- Threads
- DCC Protocols
- Line Length Limit
- Font rendering
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]