Difference between revisions of "2.0/Modules/bs control"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/bs_control}} {{Syntax|bs_control|BotServ|Anope}} == <div class="moduleheader">Description</div> == Caused the bot to say something or perform an action...")
 
m (grammar fix)
 
Line 3: Line 3:
  
 
== <div class="moduleheader">Description</div> ==
 
== <div class="moduleheader">Description</div> ==
Caused the bot to say something or perform an action
+
Makes the bot say something or perform an action
  
 
== <div class="moduleheader">Commands</div> ==  
 
== <div class="moduleheader">Commands</div> ==  

Latest revision as of 12:09, 8 May 2014

Language

English

Service BotServ
Module bs_control
Author Anope

Description

Makes the bot say something or perform an action

Commands

SAY channel text
Makes the bot say the given text on the given channel.
ACT chanel action
Makes the bot do the equivalent of a "/me" command on the given channel using the given text.

Examples

/msg BotServ SAY #myChannel Hello Fred

/msg BotServ ACT #myChannel shakes Fred's hand.

Default Configuration

/*
 * bs_control
 *
 * Provides the commands botserv/act and botserv/say.
 *
 * Used for making the bot message a channel.
 */
module { name = "bs_control" }
command { service = "BotServ"; name = "ACT"; command = "botserv/act"; }
command { service = "BotServ"; name = "SAY"; command = "botserv/say"; }