$mask » History » Revision 5
Revision 4 (Per Amundsen, 08/13/2015 11:05 AM) → Revision 5/8 (Per Amundsen, 08/13/2015 11:06 AM)
_Added in 1.9.0_ *$mask(address,type)* $mask(address,type) Returns address with a mask specified by type. *Parameters* address - Address to format. type - Type of format to use. *Available types* <notextile>0 - *!ident@host</notextile> <notextile>1 - *!*ident@host</notextile> <notextile>2 - *!*@host</notextile> <notextile>3 - *!*ident@*.host</notextile> <notextile>4 - *!*@*.host</notextile> <notextile>5 - nick!ident@host</notextile> <notextile>6 - nick!*ident@host</notextile> <notextile>7 - nick!*@host</notextile> <notextile>8 - nick!*ident@*.host</notextile> <notextile>9 - nick!*@*.host</notextile> 10-19 - TODO *Example* <pre> ; Format 'nick!ident@host' using type '3'. //echo -ag $mask(nick!ident@host,3) </pre>