diff options
author | Adam <Adam@anope.org> | 2010-12-06 20:53:15 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-12-12 19:37:03 -0500 |
commit | f1d04a2f8e4e9077d07a94b64478bb331b49bbc0 (patch) | |
tree | 5bb30c0cafa49e4956ca2fb3408e3430ac3efd37 /data | |
parent | aed53dbb47822a79eb9a6b61095ad04ec3d67818 (diff) |
Allow command aliases to be redirected to different pseudo clients
Diffstat (limited to 'data')
-rw-r--r-- | data/example.conf | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/data/example.conf b/data/example.conf index df6bcee3d..ddbdbbc42 100644 --- a/data/example.conf +++ b/data/example.conf @@ -1871,37 +1871,41 @@ m_xmlrpc module { name = "m_alias" } alias { - /* Set to yes to make this alias triggerabe by fantasy commands. - */ + /* Set to yes to make this alias triggerable by fantasy commands. */ fantasy = no + /* Set to yes to make this alias oper only */ + operonly = no - /* Target client the alias should be for (if not using fantasy). + /* Source client and command. */ - client = "NickServ" + source_client = "NickServ" + source_command = "ID" - /* Alias name and command */ - alias = "ID" - command = "IDENTIFY" - - /* Set to yes to make this alias oper only */ - operonly = no + /* Target client and command. + */ + target_client = "NickServ" + target_command = "IDENTIFY" } /* Provides the !k fantasy command */ alias { - fantasy = true - alias = "K" - command = "KICK" + fantasy = yes + source_command = "K" + + target_client = "ChanServ" + target_command = "KICK" } /* Provides the !kb fantasy command */ alias { - fantasy = true - alias = "KB" - command = "BAN" + fantasy = yes + source_command = "KB" + + target_client = "ChanServ" + target_command = "BAN" } /* |