Auser

From Scriptwiki
Revision as of 16:38, 24 November 2005 by Doomie (talk | contribs)

Jump to: navigation, search

This adds the specified nick/address exactly as it is given to the users list with the specified levels.

/auser [-a] <levels> <nick|address> [info]

If you specify -a, then if the user already exists, the specified levels are added to the current levels the user has.

Remember, if the first level is not preceeded by an equal sign then it is a general access level.

Note that the level can both be a number or a word. Combinations are also valid.


Example

auser admin Dana This is the #help.script bot.

This would add "Dana" with level admin to your user list with the comment "This is the #help.script bot."


auser blacklist foo@bar.com Idiot!

This example would add the address "foo@bar.com" with level blacklist to your userlist, inclusive comment.


auser -a =1,2,3 foobar

This adds the specified levels to the user "foobar. If the user doesnt exist, it will be created. Note the =, which means that the first level is no general level and wont replace an existing one.

See Also

To add a user by his address, use /guser.

You can also remove users from your user list by using /ruser.

To use these levels, take a look at the $level identifier.

To use the information you have stored, use the $ulist identifier.