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

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/ns_getpass}} {{Syntax|ns_getpass|NickServ|Anope}} == <div class="moduleheader">Description</div> == Returns the password for the given nickname. Note ...")
 
m (Examples)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  
 
== <div class="moduleheader">Commands</div> ==
 
== <div class="moduleheader">Commands</div> ==
;getpass nickname
+
;GETPASS nickname
 
:
 
:
  
 
== <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"; }