# reguser.add

Registers an user

Usage

    reguser.add [-r] [-f] [-q] [-g=group] <name> [mask]

Description

Adds a new entry with the specified <name> to the database.
If the database contains an entry with the same <name>, this command just prints a warning and returns.
If no [mask] is given the new entry has no registration masks: so it can't be "matched" yet. You have to add at least one mask with reguser.addmask. If [mask] is given, then it is added to the entry mask list.
The <name> parameter may contain any character: even spaces are allowed (obviously you have to use quotes in that case).
If the '-r' switch is given, the new entry replaces any previous one with the same <name> (the old entry is removed).
If the '-f' switch is given, and there is an existing entry with the same name, no warning is printed and the old entry is treated just like it has been just added (thus the [mask] is eventually added to its mask list).
The '-q' switch causes the command to run in "quiet" mode and print no warning.

Syntax Specification

    reguser.add [-r] [-f] [-q] [-g=group] <name> [mask]

Examples

        reguser.add Pragma

See also
registered users database interface, registered users database, reguser.remove, reguser.addmask, $reguser.list

Index, Commands

KVIrc 4.2.0.6190 Documentation
Generated by root at Sun Jul 21 22:14:44 2013