Guser » History » Version 2
Per Amundsen, 02/16/2023 12:41 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 | 2 | Per Amundsen | table(ktable). |
14 | |*Switch*|*Description*| |
||
15 | | -a | Adds the levels to the matching user, if no user is found, a new user is added. | |
||
16 | 1 | Per Amundsen | |
17 | *Parameters* |
||
18 | |||
19 | 2 | Per Amundsen | table(ktable). |
20 | |*Parameter*|*Description*| |
||
21 | | <levels> | Access level(s) to add. | |
||
22 | | <nick<notextile>|</notextile>address> | Nick or address to add. | |
||
23 | | [type] | Lookup the address using this type of address. | |
||
24 | | [info] | Optional information text. | |
||
25 | 1 | Per Amundsen | |
26 | *Example* |
||
27 | |||
28 | <pre> |
||
29 | ; Adds a new user 'Nick' with access levels 1, 2 and 3. |
||
30 | /guser 1,2,3 Nick |
||
31 | |||
32 | ; Updates access levels for 'Nick' with 4 and 5. |
||
33 | /guser -a 4,5 Nick |
||
34 | |||
35 | ; Updates access levels for 'Nick' with 7 and 7. |
||
36 | ; By using = in front of the first access level, the default access level for this user is not modified. |
||
37 | /guser -a =6,7 Nick |
||
38 | </pre> |