2.0/Modules/ns status

From AnopeWiki
Jump to: navigation, search
Language

English

Service NickServ
Module ns_status
Author Anope


Description

Returns whether the user using the given nickname is recognized as the owner of the nickname. The response has this format:

nickname status-code account

where nickname is the nickname sent with the command, status-code is one of the following, and account is the account they are logged in as.

  • 0 - no such user online or nickname not registered
  • 1 - user not recognized as nickname's owner
  • 2 - user recognized as owner via access list only
  • 3 - user recognized as owner via password identification

If no nickname is given, your status will be returned.

Commands

STATUS [nickname]

Examples

/msg NickServ STATUS Fred
Displays the status of Fred.
/msg NickServ STATUS
Displays your status.

Default Configuration

/*                                                                                                                
 * ns_status                                                                                                      
 *                                                                                                                
 * Provides the nickserv/status command.
 *                                                                                                                
 * Used to determine if a user is recognized or identified by services.                                           
 */                                                                                                               
module { name = "ns_status" }                                                                                     
command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; }