$address (nick)

From Scriptwiki
Revision as of 21:32, 14 December 2005 by Albie (talk | contribs)

Jump to: navigation, search

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.


mode $chan -o+b $nick $iif(*.users.quakenet.org iswm $address($nick,2),$v2,$address($nick,3))

This example will check if someones host is <QAuth>.users.quakenet.org and if it is, use banmask type 2 on them, else use mask type 3.

See Also

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