Difference between revisions of "$address (nick)"

From Scriptwiki
Jump to: navigation, search
 
Line 2: Line 2:
 
  $address(nickname,type)
 
  $address(nickname,type)
  
'''Note''' that if the [[IAL|Internal Address List]] doesn't contain a matching nickname, the identifier returns [[$null]].
+
'''Note''' that if the [[:Category:IAL|Internal Address List]] doesn't contain a matching nickname, the identifier returns [[$null]].
  
 
To get a list of all types, look at [[$mask]].
 
To get a list of all types, look at [[$mask]].

Revision as of 20:34, 21 November 2005

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

$address(nickname,type)

Note that if the Internal Address List doesn't contain a matching nickname, the identifier returns $null.

To get a list of all types, look at $mask.

Example

echo -a $address(Dana,5)

This example will return Dana!dana@staff.quakenet.org.

See Also

$ial returns the Nth address matching mask in the IAL.