Difference between revisions of "2.0/Modules/os module"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/os_module}} {{Syntax|os_module|OperServ|Anope}} == <div class="moduleheader">Description</div> == ;MODLOAD :This command loads the module named modname...")
 
(No difference)

Latest revision as of 22:40, 8 May 2014

Language

English

Service OperServ
Module os_module
Author Anope

Description

MODLOAD 
This command loads the module named modname from the modules directory.
MODRELOAD 
This command reloads the module named modname.
MODUNLOAD 
This command unloads the module named modname.
  • NOTE: Access to these commands require the permission operserv/modload to be present in your opertype.

Commands

modload modname
modreload modname
modunload modname

Examples

/msg OperServ MODLOAD m_dns

/msg OperServ MODRELOAD m_dns

/msg OperServ MODUNLOAD m_dns

Default Configuration

/*
 * os_module
 *
 * Provides the commands operserv/modload, operserv/modreload, and operserv/modunload.
 *
 * Used to load, reload, and unload modules.
 */
module { name = "os_module" }
command { service = "OperServ"; name = "MODLOAD"; command = "operserv/modload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODRELOAD"; command = "operserv/modreload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODUNLOAD"; command = "operserv/modunload"; permission = "operserv/modload"; }