2.0/Modules/bs control

From AnopeWiki
Revision as of 19:27, 7 May 2014 by Azander (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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"; }