Limit
From RacHelp
Contents |
[edit] Author
[edit] Description
This script will set the channel limit (channel mode +l) to the total number of users in the channel, plus four. This is useful to stop channel floods, as the bot will not catch up fast enough to allow a severe flood to occur.
[edit] Known issue
Due to a delay in the bot picking up the user count for a channel when it first enters it, the bot will initially set the channel limit to four. This can be resolved by removing the channel limit entirely, and waiting for another user to join. After another user has joined, the bot will have retrieved the correct user count for the channel, and will calculate and set the limit accordingly.
[edit] Installation
- Extract limit.tcl to your Racbot scripts directory.
- Add the following line to the bottom of your Racbot configuration file:
source scripts/limit.tcl
