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