Difference between revisions of "Auser"

From Scriptwiki
Jump to: navigation, search
 
Line 7: Line 7:
  
 
'''Note''' that the level can both be a number or a word. Combinations are also valid.
 
'''Note''' that the level can both be a number or a word. Combinations are also valid.
 +
 +
 
== Example ==
 
== Example ==
  
Line 15: Line 17:
 
  auser blacklist foo@bar.com Idiot!
 
  auser blacklist foo@bar.com Idiot!
 
This example would add the address "foo@bar.com" with level ''blacklist'' to your userlist, inclusive comment.
 
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 ==
 
== See Also ==
Line 23: Line 30:
 
To use these levels, take a look at the [[$level]] identifier.
 
To use these levels, take a look at the [[$level]] identifier.
  
 +
To use the information you have stored, use the [[$ulist]] identifier.
 
[[Category:Remote Identifiers]]
 
[[Category:Remote Identifiers]]

Revision as of 16:15, 24 November 2005

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.