Project

General

Profile

$cnick » History » Revision 12

Revision 11 (Per Amundsen, 07/04/2018 08:07 AM) → Revision 12/22 (Per Amundsen, 07/04/2018 08:07 AM)

_Added in 1.9.4_ 

 *$cnick(N|nick, M)* 

 Returns the Nth nick in nick color list, or if nick is specified returns Nth position of item in list that matches nick. If nick does not match any items, returns zero. 

 *Parameters* 

 N|nick - The Nth nickcolor item or a nick to match. 
 M - TODO. 

 *Properties* 

 .color - The nickcolor. 
 .rgbcolor - The [[$rgb|rgb]] color if set. (AdiIRC only) 
 .modes - Channel modes if any. 
 .levels - The user access levels if any. 
 .method - The nickcolor method (0 = message and nicklist, 1 = message, 2 = nicklist) 
 .anymode - Returns [[$true]] if anymode is checked, otherwise [[$false]]. 
 .nomode - Returns [[$true]] if nomode is checked, otherwise [[$false]]. 
 .ignore - Returns [[$true]] if Ignore is checked, otherwise [[$false]]. 
 .op - Returns [[$true]] if Op op is checked, otherwise [[$false]]. 
 .voice - Returns [[$true]] if Voice voice is checked, otherwise [[$false]]. 
 .protect - TODO ($false) 
 .notify - Returns [[$true]] if Notify is checked, otherwise [[$false]]. 
 .abook- Returns [[$true]] if Address Book is checked, otherwise [[$false]]. (AdiIRC only) 
 .idle - Idle time in minutes, if set.