1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 23:36:39 +02:00

Allow command aliases to be redirected to different pseudo clients

This commit is contained in:
Adam
2010-12-06 20:53:15 -05:00
parent aed53dbb47
commit f1d04a2f8e
4 changed files with 53 additions and 40 deletions
+21 -17
View File
@@ -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
/* 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
/* Source client and command.
*/
source_client = "NickServ"
source_command = "ID"
/* 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"
}
/*