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...")
(No difference)

Revision as of 19:27, 7 May 2014

Language

English

Service BotServ
Module bs_control
Author Anope

Description

Caused the bot to 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"; }