reguser.addmask

Adds a mask to a registered user
Syntax

reguser.addmask [-f] <name> <mask>

Description
Adds a registration mask to the database entry with name <name>.
The <mask> has the common irc mask format.
The only restriction on the <mask> is that it must be unique inside the regusers database: you can't match two users with the same mask (it would have rather undefined results).
If -f is used , KVIrc ensures that the mask is unique in the database and associates is to THIS registered user (breaking the previous associations).<br> Once at least one mask has been added, the user can be "matched" by using the $reguser.match() function.
Each database entry can have an unlimited number of masks.
Examples

    reguser.add "Szymon Stefanek"
    reguser.addmask "Szymon Stefanek" Pragma!*@*.it
See also
Registered users database interface, Registered users database, [cmd]reguser.add[cmd], reguser.remove, reguser.delmask, reguser.list, [fnc]reguser.match[/fnc], [fnc]reguser.exactMatch[/fnc]

Main index, Command index
KVirc 3.0.0 documentation
Generated by root at Sun Sep 7 19:47:12 2003