2.0/Modules/ns group

From AnopeWiki
Jump to: navigation, search
Language

English

Service NickServ
Module ns_group
Author Anope

Description

This command makes your nickname join the target nickname's group. password is the password of the target nickname.

Joining a group will allow you to share your configuration, memos, and channel privileges with all the nicknames in the group, and much more!

A group exists as long as it is useful. This means that even if a nick of the group is dropped, you won't lose the shared things described above, as long as there is at least one nick remaining in the group.

You may be able to use this command even if you have not registered your nick yet. If your nick is already registered, you'll need to identify yourself before using this command.

It is recommended to use this command with a non-registered nick because it will be registered automatically when using this command. You may use it with a registered nick (to change your group) only if your network administrators allowed it.

You can only be in one group at a time. Group merging is not possible.

Note: all the nicknames of a group have the same password.

Commands

group [target] [password]

Examples

/msg NickServ group MainNick MyPassword

Default Configuration

/*
 * ns_group
 *                                                                                                                
 * Provides the commands nickserv/group, nickserv/glist, and nickserv/ungroup.                                    
 *                                                                                                                
 * Used for controlling nick groups.                                                                              
 */                                                                                                               
module                                                                                                            
{                                                                                                                 
        name = "ns_group"                                                                                         
 
        /*                                                                                                        
         * The maximum number of nicks allowed in a group.                                                        
         *                                                                                                        
         * This directive is optional, but recommended. If not set or set to 0, no limits will be applied.        
         */                                                                                                       
        maxaliases = 16                                                                                           
 
        /*                                                                                                        
         * If set, the NickServ GROUP command won't allow any group changes. This is recommended to               
         * prevent users from accidentally dropping their nicks, as it forces users to explicitly                 
         * drop their nicks before adding it to another group.                                                    
         *                                                                                                        
         * This directive is optional, but recommended.                                                           
         */                                                                                                       
        nogroupchange = yes                                                                                       
}                                                                                                                 
command { service = "NickServ"; name = "GLIST"; command = "nickserv/glist"; }                                     
command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; }                                     
command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; }