Project

General

Profile

$address » History » Revision 6

Revision 5 (Per Amundsen, 08/10/2015 07:19 AM) → Revision 6/7 (Per Amundsen, 08/13/2015 11:07 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 [[$mask]] for available types. [[ban mask]]. 

 *Example* 

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