Guser » History » Version 1
Per Amundsen, 05/03/2015 11:59 PM
1 | 1 | Per Amundsen | _Added in 1.9.7_ |
---|---|---|---|
2 | |||
3 | */guser [-a] <levels> <nick|address> [type] [info]* |
||
4 | |||
5 | Same as [[/auser]] except looks up the address first using [[/userhost]]. |
||
6 | |||
7 | Adds the specified nick/address to the users list with the specified levels. |
||
8 | |||
9 | If the first level is not preceded by an equal sign then it is a general access level. |
||
10 | |||
11 | *Switches* |
||
12 | |||
13 | -a - Adds the levels to the matching user, if no user is found, a new user is added. |
||
14 | |||
15 | *Parameters* |
||
16 | |||
17 | <levels> - Access level(s) to add. |
||
18 | <nick|address> - Nick or address to add. |
||
19 | [type] - Lookup the address using this type of address. |
||
20 | [info] - Optional information text. |
||
21 | |||
22 | *Example* |
||
23 | |||
24 | <pre> |
||
25 | ; Adds a new user 'Nick' with access levels 1, 2 and 3. |
||
26 | /guser 1,2,3 Nick |
||
27 | |||
28 | ; Updates access levels for 'Nick' with 4 and 5. |
||
29 | /guser -a 4,5 Nick |
||
30 | |||
31 | ; Updates access levels for 'Nick' with 7 and 7. |
||
32 | ; By using = in front of the first access level, the default access level for this user is not modified. |
||
33 | /guser -a =6,7 Nick |
||
34 | </pre> |