You can get a user's mask with the $address identifier.
(everything from the help file)$address(nickname,type)Searches the Internal Address List for the address associated with the specified nickname.
$address(nick,1) returns *!*user@hostIf the Internal Address List doesn't contain a matching nickname, the identifier returns
$null.
See $mask() for a list of types:$mask(address,type)Returns address with a mask specified by type.
$mask(nick!khaled@mirc.com,1) returns *!*khaled@mirc.com
$mask(nick!khaled@mirc.com,2) returns *!*@mirc.comThe available types are:
0: *!user@host
1: *!*user@host
2: *!*@host
3: *!*user@*.host
4: *!*@*.host
5: nick!user@host
6: nick!*user@host
7: nick!*@host
8: nick!*user@*.host
9: nick!*@*.hostYou can also specify a type of 10 to 19 which correspond to masks 0 to 9, but instead of using a
* wildcard to replace portions of the host, mIRC uses
? wildcards to replace the
numbers in the address.- I think this can help more than my own trial
![smile smile](/images/graemlins/mirc/smile.gif)
Zyzzyx.