2.0/Modules/ns recover

From AnopeWiki
Revision as of 00:40, 5 May 2014 by Azander (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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"; }