2.0/Modules/ns status

From AnopeWiki
Revision as of 02:59, 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_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

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