Project

General

Profile

Actions

$color » History » Revision 2

« Previous | Revision 2/11 (diff) | Next »
Per Amundsen, 11/08/2014 06:46 PM


Added in 1.9.0

$color(name/N)

Returns the Nth color index of the specified color name. If you do not specify the full name the first partial match is returned.

If you specify an N value, returns the RGB value for the Nth color box.

Parameters

name/N - Named color or Nth color to retrieve.

Properties

.dd - returns number in double-digit format.

Example

;Get the action color
//echo -ag action color is $color(action)

;Get the action color by partial match in double digits
//echo -ag action color is $color(act).dd

;Get the rgb value for color 5
//echo -ag rgb value for 5 is $color(5)

Color names

action
background
ctcp
editbox
gray
highlight
inactive
info
info2
invite
join
kick
listbox
mode
nick
normal
notice
other
own
part
quit
title
topic
treebar
wallops
whois

Updated by Per Amundsen about 10 years ago · 2 revisions

Also available in: PDF HTML TXT