Project

General

Profile

$ialchan » History » Revision 7

Revision 6 (Per Amundsen, 05/26/2016 05:14 PM) → Revision 7/13 (Per Amundsen, 12/13/2019 06:31 PM)

_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. 
 <notextile>#</notextile> - 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) 
 .cnick - Returns the nick in .@%+nick format. (Only the highest channel prefix is returned, *AdiIRC only*) AdiIRC only) 
 .nick - Returns the nick. 
 .user - Returns the realname/fullname. 
 .host - Returns the hostname. 
 .addr - Returns the address in ident@host format. 
 .mark - The user [[/ialmark|mark]]. 
 .account - Returns the account name. (*AdiIRC only*, (AdiIRC only, [[IRCv3]] feature) 
 .isaway - Returns [[$true]] if the user is away, otherwise [[$false]]. *(AdiIRC only)* (AdiIRC only) 

 *Example* 

 <pre> 
 ; 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) 
 </pre>