$nick » History » Revision 7
« Previous |
Revision 7/15
(diff)
| Next »
Per Amundsen, 10/27/2015 01:39 AM
Added in 1.5
$nick
Returns the nickname of the user associated with an event.
Example
; Prrint the user associated with this event. on *:TEXT:*:*:echo -ag The user associated with this event is $nick
$nick(#,N/nick,[aohvr],[aohvr])
Returns the Nth nickname in the channels nickname listbox on channel #.
Parameters
# - The channel where the Nicklist is.N/nick - The nick to get, if N = 0 number of nicks, otherwise the Nth nick.
[aohvr] - Only include nicks with these channel modes. (optional)
[aohvr] - Exclude nicks with these channel modes. (optional)
Properties
.color - Returns the Nicklist color for this nick.
.color - Returns the Nicklist $rgbcolor for this nick.
.pnick - Returns the nick in .@%+nick format. (This include every channel prefix this user has, not just the highest)
.cnick - Returns the nick in .@%+nick format. (Only the highest channel prefix is returned, AdiIRC only)
.cmode - Returns the highest channel prefix for this nick. (AdiIRC only)
.idle - Returns the number of seconds this nick has been idle on this channel.
.joined - Returns number of seconds since this user (or you) joined this channel. (AdiIRC only)
Example
; Print number of nicks in the channel '#test' //echo -ag $nick(#test, 0) ; Print the 5th nick in the channel '#test' //echo -ag $nick(#test, 5)
Updated by Per Amundsen almost 9 years ago · 7 revisions