Difference between revisions of "$cnick"

From Scriptwiki
Jump to: navigation, search
m (added page)
 
(No difference)

Latest revision as of 17:12, 2 July 2007

$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