summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-14 15:12:32 -0500
committerAdam <Adam@anope.org>2010-12-12 19:33:58 -0500
commit3c9d4e9dafdd0918a3539e545cc99646e604757d (patch)
tree5206bf59ad26698932ca0119b2c04a5f70c88946 /data
parentc792c7f62df41c48d0d813a809e5415cbefa38b2 (diff)
Added command aliases
Diffstat (limited to 'data')
-rw-r--r--data/example.conf41
1 files changed, 41 insertions, 0 deletions
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"
+}
+