mirror of
https://github.com/anope/anope.git
synced 2026-07-02 04:26:39 +02:00
Added command aliases
This commit is contained in:
@@ -1838,3 +1838,44 @@ m_xmlrpc
|
||||
*/
|
||||
#module { name = "m_xmlrpc_main" }
|
||||
|
||||
/*
|
||||
* m_alias
|
||||
*
|
||||
* Allows you to create custom command aliases.
|
||||
*/
|
||||
module { name = "m_alias" }
|
||||
alias
|
||||
{
|
||||
/* Set to yes to make this alias triggerabe by fantasy commands.
|
||||
*/
|
||||
fantasy = no
|
||||
|
||||
/* Target client the alias should be for (if not using fantasy).
|
||||
*/
|
||||
client = "NickServ"
|
||||
|
||||
/* Alias name and command */
|
||||
alias = "ID"
|
||||
command = "IDENTIFY"
|
||||
|
||||
/* Set to yes to make this alias oper only */
|
||||
operonly = no
|
||||
}
|
||||
|
||||
/* Provides the !k fantasy command */
|
||||
alias
|
||||
{
|
||||
fantasy = true
|
||||
alias = "K"
|
||||
command = "KICK"
|
||||
|
||||
}
|
||||
|
||||
/* Provides the !kb fantasy command */
|
||||
alias
|
||||
{
|
||||
fantasy = true
|
||||
alias = "KB"
|
||||
command = "BAN"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user