This page is intended for developers. If you're looking information on for how to link servers you should refer to the spanningtree module (v4 docs, v3 docs) page instead.
OPERTYPE
Marks the source user as the specified type of server operator.
Connection Phases
This message can be used in the following connection phases:
Connection Phase | Usable? |
---|---|
Connecting outbound | ❌ |
Authenticating outbound | ❌ |
Authenticating inbound | ❌ |
Fully connected | ✔️ |
Syntax
[@<tags>] :<uid> OPERTYPE :<type>
Parameter | Description |
---|---|
<uid> | The unique identifier of the user that sent the message. |
<type> | The new server operator type of the source user. |
Tag | Description |
---|---|
~automatic | [1206+] If present then the source user was automatically logged into their server operator account. |
~name | [1206+] The name of the operator account the source user logged into. |
~chanmodes | [1206+] The server operator-only channel modes that the source user has access to (including modes that may not currently exist). |
~usermodes | [1206+] The server operator-only user modes that the source user has access to (including modes that may not currently exist). |
~commands | [1206+] A token list of the server operator-only commands that the source user has access to. |
~privileges | [1206+] A token list of the server operator-only privileges that the source user has. |
~snomasks | [1206+] The server notice masks that the source user has access to (including snomasks that may not currently exist). |
Example Usage
Changes the server operator type of 36DAAAAAA to "Network Administrator":
:36DAAAAAA OPERTYPE :Network Administrator
History
1206
Tags representing the operator privileges that the source user were added. Before this they were assumed to have all privileges.