$ialchan » History » Revision 4
« Previous |
Revision 4/13
(diff)
| Next »
Per Amundsen, 10/16/2015 11:18 AM
Added in 1.9.0
$ialchan(nick|mask,#,[N])
Returns the Nth address on the specified channel matching nick or mask in the Internal Address List.
Parameters
nick|mask - Nick or mash to lookup.
# - The channel to lookup on.
[N] - If N = 0 number of addresses, otherwise the Nth address (default is 1). (optional)
Properties
.pnick - Returns the channelnick. (includes prefix)
.nick - Returns the nick.
.user - Returns the realname/fullname.
.account - Returns the account name. (AdiIRC only, IRCv3 feature)
.host - Returns the hostname.
.addr - Returns the address in ident@host format.
.mark - The user mark.
Example
; Prints number of matches from 'nick' on '#channel'. //echo -ag $ialchan(nick, #, 0) ; Prints the first matc from 'nick' on '#channel'. //echo -ag $ialchan(nick, #, 1)
Updated by Per Amundsen about 9 years ago · 4 revisions