2.0/Modules/bs assign
From AnopeWiki
Language | |
---|---|
English |
|
Description
Add or Remogve a bot from your channel
Commands
- ASSIGN channel nick
- Assigns a bot pointed out by nick to a channel. You can then configure the bot for the channel so it fits your needs.
- UNASSIGN channel
- Unassigns a bot from a channel. When you use this command, the bot won't join the channel anymore. However, bot configuration for the channel is kept, so you will always be able to reassign a bot later without having to reconfigure it entirely.
- 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.
Examples
/msg BotServ ASSIGN #myChannel FredBot
/msg BotServ UNASSIGN #myOtherChannel
Default Configuration
/* * bs_assign * * Provides the commands: * botserv/assign - Used to assign BotServ bots to channels * botserv/unassign - Used to unassign BotServ bots * botserv/set/nobot - Used to prohibit channels from being assigned BotServ bots. * * Used for assigning and unassigning bots to channels. */ module { name = "bs_assign" } command { service = "BotServ"; name = "ASSIGN"; command = "botserv/assign"; } command { service = "BotServ"; name = "UNASSIGN"; command = "botserv/unassign"; } command { service = "BotServ"; name = "SET NOBOT"; command = "botserv/set/nobot"; permission = "botserv/set/nobot"; }