Set (BotServ Command)

From Ravenchat Wiki
Jump to: navigation, search

This command allows you to change various settings, sometimes called flags, associated with the bots. These are all channel specific settings, with the exception private. The same bot in #channel1 and #channel2 can be configured to behave differently. This gives channel operators maximum control over how their bots operate. As such, a channel must always be provided as an argument following the name of the setting, again excluding private. For brevity the channel name will not be included in the argument count, but as always will be provided in examples. The following settings can be changed.

Banexpire

This setting changes the expiration time on bans. This is used to unset bans imposed by a kicker. This command accepts 1 argument, a time limit for how long the ban should last. To set an expiry time of 1 hour on #channel, you would issue the following command:

/msg BotServ set banexpire #lobby 1h

Note that without a suffix to denote how long a ban should last (s for seconds, m for minutes, h for hours, d for days, w for weeks, y for years) then the default timing is in seconds. For a 1 hour ban that doesn't have a suffix appended to the ban time, you will need to use 3600 instead of 1h.

Dontkickops

This setting toggles whether or not BotServ will be capable of kicking channel operators. This defaults to off. To disable the kicking of channel operators, turn this on. This command accepts 1 argument, either the word on or off to toggle the setting. To turn the setting on for #channel, use this command:

/msg BotServ set dontkickops #channel on

Dontkickvoices

The same as above, but only applies to voiced users. Again, this defaults to off.

Fantasy

Determines whether or not fantasy commands are enabled for the bot in a given channel. Fantasy commands let you issue commands to your bot in the channel without having to use /msg ChanServ/BotServ for your command. For example, if you want to voice nick1, you could send this directly to your channel with the bot present:

@voice nick1

This command accepts 1 argument, either the word on or off to toggle this command on or off. Fantasy is enabled by default for new registrations. Therefore, you should only ever use this command if you specifically want to turn it off. To disable fantasy commands in #channel, use this command:

/msg BotServ set fantasy #channel off

Greet

This configures whether or not the bot will greet users with sufficient access to the channel upon joining. This is enabled by default, however greetings themselves are unset. To set your greet message, see set for NickServ.

This command accepts 1 argument, either the word on or off to determine whether or not greetings are issued. Greetings are issued by default to users that have set their NickServ greet. To disable this on #channel, use the following command:

/msg BotServ set greet #channel off

Nobot

This is an IRC operator only setting that can forbid the assignment of bots to a specific channel at all. Even other IRC operators will not be allowed to assign bots to the channel until the nobot flag is removed. This is usually only used as an abuse prevention measure, if it is used at all. When a channel is marked nobot, any bot assigned to it is promptly removed. This command accepts 1 argument, either the word on or off to toggle the flag. To enable this flag for #channel (and thus disable bots there), use this command:

/msg BotServ set nobot #channel on

Private

This is an IRC operator only setting that, if turned on, marks the bot as unassignable to channels except by other IRC operators. This is usually only used to assign bots for the exclusive use of network staff in official network channels, but may occasionally be used in a contest to assign the winner a bot exclusive to their channel(s). This command accepts 2 arguments, the name of the target bot, and either the word on or off to toggle this setting. To mark ChanServ as private, use this command:

/msg BotServ set ChanServ private on

See Also