Actions
$mask » History » Revision 3
« Previous |
Revision 3/8
(diff)
| Next »
Per Amundsen, 08/13/2015 11:05 AM
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
0 - !ident@host
1 - *!*ident@host
2 - *!host
.host
3 - *!*ident
4 - *!*.host
.host
5 - nick!ident@host
6 - nick!*ident@host
7 - nick!*@host
8 - nick!*ident
9 - nick!@*.host
10-19 - TODO
Example
; Format 'nick!ident@host' using type '3'. //echo -ag $mask(nick!ident@host,3)
Updated by Per Amundsen over 9 years ago · 3 revisions