2.0/Modules/bs set

From AnopeWiki
Revision as of 21:18, 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_set
Author Anope

Description

Configures bot options.

Commands

SET BANEXPIRE #channel time
Sets the time bot bans expire in. If enabled, any bans placed by bots, such as flood kicker, badwords kicker, etc. will automatically be removed after the given time. Set to 0 to disable bans from automatically expiring.
SET DONTKICKOPS #channel {ON | OFF}
Enables or disables ops protection mode on a channel. When it is enabled, ops won't be kicked by the bot even if they don't match the NOKICK level.
SET DONTKICKVOICES #channel {ON | OFF}
Enables or disables voices protection mode on a channel. When it is enabled, voices won't be kicked by the bot even if they don't match the NOKICK level.
SET FANTASY channel {ON | OFF}
Enables or disables fantasy mode on a channel. When it is enabled, users will be able to use fantasy commands on a channel when prefixed with one of the following fantasy characters: !
Note that users wanting to use fantaisist commands MUST have enough access for both the FANTASIA and the command they are executing.
SET GREET channel {ON | OFF}
Enables or disables greet mode on a channel. When it is enabled, the bot will display greet messages of users joining the channel, provided they have enough access to the channel.
SET NOBOT channel {ON | OFF}
This option makes a channel be unassignable. If a bot is already assigned to the channel, it is unassigned automatically when you enable the option.
Note: Access to this command requires the permission botserv/set/nobot to be present in your opertype.
SET PRIVATE botname {ON | OFF}
This option prevents a bot from being assigned to a channel by users that aren't IRC Operators.
NOTE:Access to this command requires the permission botserv/set/private to be present in your opertype.

Examples

/msg BotServ BANEXPIRE #myChannel 1d

/msg BotServ NOBOT #Help ON

Default Configuration

/*
 * bs_set
 *
 * Provides the commands:
 *   botserv/set/private - Used to prohibit specific BotServ bots from being assigned to channels.
 */
module { name = "bs_set" }
command { service = "BotServ"; name = "SET"; command = "botserv/set"; }
command { service = "BotServ"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; }
command { service = "BotServ"; name = "SET PRIVATE"; command = "botserv/set/private"; permission = "botserv/set/private"; }