2.0/Modules/os login

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_login
Author Anope

Description

LOGIN 
Logs you in to OperServ so you gain Services Operator privileges. This command may be unnecessary if your oper block is configured without a password.
LOGOUT 
Logs you out from OperServ so you lose Services Operator privileges. This command is only useful if your oper block is configured with a password.

Commands

login password
logout

Examples

/msg OperServ LOGIN mysecretpassword

/msg OperServ LOGOUT

Default Configuration

/*
 * os_login
 *
 * Provides the commands operserv/login and operserv/logout.
 *
 * Used to login to OperServ, only required if your oper block requires this.
 */
module { name = "os_login" }
command { service = "OperServ"; name = "LOGIN"; command = "operserv/login"; }
command { service = "OperServ"; name = "LOGOUT"; command = "operserv/logout"; }