Project

General

Profile

$nick » History » Version 4

Per Amundsen, 10/04/2015 06:57 PM

1 1 Per Amundsen
_Added in 1.5_
2
3
*$nick*
4
5
Returns the nickname of the user associated with an [[Scripting_Events|event]].
6
7
*Example*
8
9
<pre>
10
; Prrint the user associated with this event.
11
on *:TEXT:*:*:echo -ag The user associated with this event is $nick
12
</pre>
13 2 Per Amundsen
14
-----------------------------------------------------------------------------
15
16
*$nick(#,N/nick,[aohvr],[aohvr])*
17
18 4 Per Amundsen
Returns the Nth nickname in the channels nickname listbox on channel <notextile>#</notextile>.
19 2 Per Amundsen
20
*Parameters*
21
22
# - The channel where the Nicklist is.
23
N/nick - The nick to get, if N = 0 number of nicks, otherwise the Nth nick.
24
[aohvr] - Only include nicks with these channel modes. (optional)
25
[aohvr] - Exclude nicks with these channel modes. (optional)
26
27
*Properties*
28
29
.color - Returns the Nicklist color for this nick.
30
.pnick - Returns the nick in .@%+nick format. (This include every channel prefix this user has, not just the highest)
31 3 Per Amundsen
<notextile>.cnick - Returns the nick in .@%+nick format. (Only the highest channel prefix is returned, AdiIRC only)</notextile>
32
.cmode - Returns the highest channel prefix for this nick. (AdiIRC only)
33 2 Per Amundsen
.idle - Returns the number of seconds this nick has been idle on this channel.
34
.joined - Returns number of seconds since this user (or you) joined this channel. (AdiIRC only)