Project

General

Profile

$cnick » History » Version 11

Per Amundsen, 07/04/2018 08:07 AM

1 1 Per Amundsen
_Added in 1.9.4_
2
3 6 Per Amundsen
*$cnick(N|nick, M)*
4 1 Per Amundsen
5 3 Per Amundsen
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.
6 1 Per Amundsen
7
*Parameters*
8
9 6 Per Amundsen
N|nick - The Nth nickcolor item or a nick to match.
10 1 Per Amundsen
M - TODO.
11
12
*Properties*
13
14
.color - The nickcolor.
15 10 Per Amundsen
.rgbcolor - The [[$rgb|rgb]] color if set. (AdiIRC only)
16 8 Per Amundsen
.modes - Channel modes if any.
17 7 Per Amundsen
.levels - The user access levels if any.
18 2 Per Amundsen
.method - The nickcolor method (0 = message and nicklist, 1 = message, 2 = nicklist)
19 11 Per Amundsen
.anymode - Returns [[$true]] if anymode is checked, otherwise [[$false]].
20
.nomode - Returns [[$true]] if nomode is checked, otherwise [[$false]].
21 9 Per Amundsen
.ignore - Returns [[$true]] if Ignore is checked, otherwise [[$false]].
22 11 Per Amundsen
.op - Returns [[$true]] if op is checked, otherwise [[$false]].
23
.voice - Returns [[$true]] if voice is checked, otherwise [[$false]].
24 1 Per Amundsen
.protect - TODO ($false)
25 9 Per Amundsen
.notify - Returns [[$true]] if Notify is checked, otherwise [[$false]].
26
.abook- Returns [[$true]] if Address Book is checked, otherwise [[$false]]. (AdiIRC only)
27 1 Per Amundsen
.idle - Idle time in minutes, if set.