Project

General

Profile

$address » History » Revision 5

Revision 4 (Per Amundsen, 08/09/2015 02:59 AM) → Revision 5/7 (Per Amundsen, 08/10/2015 07:19 AM)

_Added in 1.9.0_ 

 *$address* 

 Returns the address of the user associated with an [[Scripting_Events|event]] in the form user@host. 

 *Example* 

 <pre> 
 ; Prrint the user address from a incoming message. 
 on *:TEXT:*:*:echo -ag The user address for this event is $address 
 </pre> 

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

 _Added in 1.9.0_ 

 *$address(nickname,type)* 

 Searches the Internal Address List for the address associated with the specified nickname. 

 *Parameters* 

 nickname - Nickname to search. 
 type - Address mask to search, see [[ban mask]]. 

 *Example* 

 <pre> 
 ; Search for 'nick' using type '1'. 
 //echo -ag $address(nick,1) 
 </pre>