Project

General

Profile

$ial » History » Revision 2

Revision 1 (Per Amundsen, 08/10/2015 08:39 AM) → Revision 2/15 (Per Amundsen, 10/16/2015 11:17 AM)

_Added in 1.9.0_ 

 *$ial* 

 Returns [[$true]] if Internal Address List is enabled, otherwise [[$false]]. 

 _Always returns [[$true]] in AdiIRC._ 

 ----------------------------------------------------------------------------- 

 _Added in 1.9.0_ 

 *$ial(nick/mask,[N])* 

 Returns the Nth address matching mask in the Internal Address List. 

 *Parameters* 

 nick/mask - Nick or mask to lookup. (can be a wildcard) 
 [N] - If N = 0, number of lookup matches, otherwise the Nth match. (optional, default i 1) 

 *Properties* 

 .realname - The user realname/fullname. (AdiIRC only) 
 .account - The user account name. (AdiIRC only, [[IRCv3]] feature) 
 .nick - The user nick. 
 .user - The user ident. 
 .host - The user hostname. 
 .addr - The user ident@hostname. 
 .mark - The user [[/ialmark|mark]]. TODO 

 *Example* 

 <pre> 
 ; Print the address 'ident!nick@hostname' for 'nick'. 
 //echo -ag $ial(nick) 

 ; Print the number of matches for wildcard search 'nick*'. 
 //echo -ag $ial(nick*, 0) 

 ; Print the realname for second match using wildcard search 'nick*'. 
 //echo -ag $ial(nick*, 2).realname 
 </pre>