$nick » History » Revision 5
Revision 4 (Per Amundsen, 10/04/2015 06:57 PM) → Revision 5/15 (Per Amundsen, 10/04/2015 06:57 PM)
_Added in 1.5_ *$nick* Returns the nickname of the user associated with an [[Scripting_Events|event]]. *Example* <pre> ; Prrint the user associated with this event. on *:TEXT:*:*:echo -ag The user associated with this event is $nick </pre> ----------------------------------------------------------------------------- *$nick(#,N/nick,[aohvr],[aohvr])* Returns the Nth nickname in the channels nickname listbox on channel <notextile>#</notextile>. *Parameters* <notextile># # - The channel where the Nicklist is.</notextile> 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. .pnick - Returns the nick in .@%+nick format. (This include every channel prefix this user has, not just the highest) <notextile>.cnick - Returns the nick in .@%+nick format. (Only the highest channel prefix is returned, AdiIRC only)</notextile> .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)