From 3c9d4e9dafdd0918a3539e545cc99646e604757d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 14 Nov 2010 15:12:32 -0500 Subject: Added command aliases --- data/example.conf | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index 106dba189..4655875ca 100644 --- a/data/example.conf +++ b/data/example.conf @@ -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" +} + -- cgit