1
0
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:
Adam
2010-11-14 15:12:32 -05:00
parent c792c7f62d
commit 3c9d4e9daf
16 changed files with 186 additions and 64 deletions
+41
View File
@@ -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"
}