Difference between revisions of "2.0/Modules/ns getpass"

From AnopeWiki
Jump to: navigation, search
m (Commands)
m (Examples)
 
Line 12: Line 12:
  
 
== <div class="moduleheader">Examples</div> ==
 
== <div class="moduleheader">Examples</div> ==
/msg nickserv getpass Fred
+
/msg NickServ GETPASS Fred
  
 
== <div class="moduleheader">Default Configuration</div> ==
 
== <div class="moduleheader">Default Configuration</div> ==

Latest revision as of 17:36, 5 May 2014

Language

English

Service NickServ
Module ns_getpass
Author Anope

Description

Returns the password for the given nickname. Note that whenever this command is used, a message including the person who issued the command and the nickname it was used on will be logged and sent out as a WALLOPS/GLOBOPS.

Access to this command requires the permission nickserv/getpass to be present in your opertype.

Commands

GETPASS nickname

Examples

/msg NickServ GETPASS Fred

Default Configuration

/*
 * ns_getpass
 *
 * Provides the command nickserv/getpass.
 *
 * Used for getting users passwords.
 *
 * Requires no encryption is being used.
 */
#module { name = "ns_getpass" }
#command { service = "NickServ"; name = "GETPASS"; command = "nickserv/getpass"; permission = "nickserv/getpass"; }