summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
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"
+}
+