$cnick » History » Version 22
Per Amundsen, 02/16/2023 09:15 PM
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 | 22 | Per Amundsen | table(ktable). |
10 | |*Parameter*|*Description*| |
||
11 | | N<notextile>|</notextile>nick | The Nth nickcolor item or a nick to match. | |
||
12 | | M | TODO. | |
||
13 | 1 | Per Amundsen | |
14 | *Properties* |
||
15 | |||
16 | 22 | Per Amundsen | table(ktable). |
17 | |*Property*|*Description*| |
||
18 | | .color | The nickcolor. | |
||
19 | | .rgbcolor | The [[$rgb<notextile>|</notextile>rgb]] color if set. *(AdiIRC only)* | |
||
20 | | .modes | Channel modes if any. | |
||
21 | | .levels | The user access levels if any. | |
||
22 | | .method | The nickcolor method (0 = message and nicklist, 1 = message, 2 = nicklist) | |
||
23 | | .anymode | Returns [[$true]] if anymode is checked, otherwise [[$false]]. | |
||
24 | | .nomode | Returns [[$true]] if nomode is checked, otherwise [[$false]]. | |
||
25 | | .ignore | Returns [[$true]] if Ignore is checked, otherwise [[$false]]. | |
||
26 | | .op | Returns [[$true]] if Op is checked, otherwise [[$false]]. | |
||
27 | | .voice | Returns [[$true]] if Voice is checked, otherwise [[$false]]. | |
||
28 | | .protect | Returns [[$true]] if Protect is checked, otherwise [[$false]]. | |
||
29 | | .notify | Returns [[$true]] if Notify is checked, otherwise [[$false]]. | |
||
30 | | .abook | Returns [[$true]] if [[Addressbook_Dialog<notextile>|</notextile>Address Book]] is checked, otherwise [[$false]]. *(AdiIRC only)* | |
||
31 | | .idle | Idle time in minutes, if set. | |
||
32 | | .network | The network name to match, if any. *(AdiIRC only)* | |
||
33 | | .channel | The channel name to match, if any. *(AdiIRC only)* | |
||
34 | | .away | Returns [[$true]] if away is checked, otherwise [[$false]]. *(AdiIRC only)* | |
||
35 | | .auto | Returns [[$true]] if Use random color is checked, otherwise [[$false]]. | |
||
36 | | .fontbold | Returns [[$true]] if Bold is checked, otherwise [[$false]]. *(AdiIRC only)* | |
||
37 | | .fontitalic | Returns [[$true]] if Italic is checked, otherwise [[$false]]. *(AdiIRC only)* | |
||
38 | | .fontunderline | Returns [[$true]] if Underline is checked, otherwise [[$false]]. *(AdiIRC only)* | |
||
39 | | .backcolor | The background color if set. *(AdiIRC only)* | |
||
40 | | .rgbbackcolor | The [[$rgb<notextile>|</notextile>rgb]] background color if set. *(AdiIRC only)* | |