_Added in 1.9.0_
$mask(address,type)
Returns address with a mask specified by type.
*Parameters*
address - Address to format.
type - Type of format to use.
*Available types*
; Format 'nick!ident@host' using type '3'. //echo -ag $mask(nick!ident@host,3)