$cnick

From Scriptwiki
Revision as of 16:12, 2 July 2007 by Cail (talk | contribs) (added page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
$cnick(N/nick, M)

Properties: color, modes, levels, method, anymode, nomode, ignore, op, voice, protect, notify, idle

Returns Nth nick in nick color list, or if nick is specified returns Nth position of item in list that matches nick. If nick doesn't match any items, returns zero.
To get a nick's color, you can use $cnick(nick).color. If nick doesn't match any items in the list, returns 'Normal Text' color, or if M = 1, returns 'Listbox text" color. M is optional.

See Also