2.0/Modules/hs set
From AnopeWiki
Language | |
---|---|
English |
|
Description
- SET
- Sets the vhost for the given nick to that of the given hostmask. If your IRCD supports vIdents, then using SET <nick> <ident>@<hostmask> set idents for users as well as vhosts. NOTE: Access to this command requires the permission hostserv/set to be present in your opertype.
- SETALL
- Sets the vhost for all nicks in the same group as that of the given nick. If your IRCD supports vIdents, then using SETALL <nick> <ident>@<hostmask> will set idents for users as well as vhosts. NOTE: this will not update the vhost for any nicks added to the group after this command was used. NOTE: Access to this command requires the permission hostserv/set to be present in your opertype.
Commands
- set nick hostmask
- setall nick hostmask
Examples
/msg HostServ SET Fred I.am.Fred
/msg HostServ SETALL Fred I.am.also.Fred
Default Configuration
/* * hs_set * * Provides the commands hostserv/set and hostserv/setall. * * Used for setting users' vHosts. */ module { name = "hs_set" } command { service = "HostServ"; name = "SET"; command = "hostserv/set"; permission = "hostserv/set"; } command { service = "HostServ"; name = "SETALL"; command = "hostserv/setall"; permission = "hostserv/set"; }