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:
+21
-17
@@ -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"
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user