2.0/Modules/ns recover

From AnopeWiki
Jump to: navigation, search
Language

English

Service NickServ
Module ns_recover
Author Anope

Description

Recovers your nick from another user or from services. If services are currently holding your nick, the hold will be released. If another user is holding your nick and is identified they will be killed (similar to the old GHOST command). If they are not identified they will be forced off of the nick.

  • NOTE: GHOST and RELEASE are disabled by default.

Commands

recover nickname [password]

Examples

/msg NickServ recover Fred MyPassword


Default Configuration

/*                                                                                                                
 * ns_recover                                                                                                     
 *                                                                                                                
 * Provides the command nickserv/recover.                                                                         
 *                                                                                                                
 * Used for recovering your nick from services or another user.                                                   
 */                                                                                                               
module                                                                                                            
{                                                                                                                 
        name = "ns_recover"                                                                                       
 
        /*                                                                                                        
         * If set, Services will svsnick and svsjoin users who use the recover                                    
         * command on an identified user to the nick and channels of the recovered user.                          
         *                                                                                                        
         * This directive is opional.                                                                             
         */                                                                                                       
        restoreonrecover = yes                                                                                    
}                                                                                                                 
command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; }                                 
# Uncomment below to emulate 1.8's behavior of ghost and release.                                                 
#command { service = "NickServ"; name = "GHOST"; command = "nickserv/recover"; }                                  
#command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; }