Description
[b]Purpose:[/b]
This is a script to allow players to vote to:
[list]
[*]kick bots off of the server (if bots present), or
[*]bring bots back onto the server (if no bots present)
[/list]
Also, the players can vote for the skill of the bots, setting it to Easy, Normal, Hard, or Expert.
Pretty simple...any player typing "votebot" initiates the vote; it works just like "votemap" does in mani.
The player can type "votebotskill" to vote for the bot skill level.
[b]Requirements:[/b]
Eventscripts v1.2, 1.3, or 1.5
[b]Optional Packages:[/b]
Mani 1.2 beta R (other versions will probably work fine, but I didn't test)
[b]Installation[/b]
1) unzip votebot-1.5.zip in your cstrike directory; it will create the following files:
[code]addons/eventscripts/votebot/es_votebot.txt
cfg/votebot.cfg[/code]
2) in autoexec.cfg, add the following line:
[code]es_load votebot[/code]
3) in server.cfg, add the following line [b]SOMETIME AFTER[/b] where you set bot_quota:
[code]exec votebot.cfg[/code]
Another good place to put this line is at the end of your bots.cfg, if you have one. The important thing is that this line come after wherever you set bot_quota.
[b]Configuration:[/b]
Values in the "config" section of this script are user changeable to configure the script any way you like, and descriptions of what they do are right there where they are defined.
[b]Comments on mani:[/b]
By default, votebot uses ma_balance (configurable in the config section of the script) to balance the teams after bots are kicked. If you don't have mani, then obviously this won't work, but nothing else is affected. Of course, if you have some other team balancer, you can configure votebot to use that instead.
[b]Other Notes:[/b]
As soon as there are no players on the server, bots are reenabled by default (i.e., bot_quota is set to whatever you have configured in server.cfg). If there is one person left on the server, a vote is started automatically so that the poor person can call in some bots to play with.
Enjoy!