Originally Posted by FunTF2Server
thx so much chundo you are our hero.
can anyone make me a sample cfg for votekick and voteban that anyone can call with exactly those keywords?
i already made the voteff and votealltalk which is awesome but i cant figure how to get the votekick and voteban working, oh and votemap
"title" "Ban #1 for 30 minutes?"
"cmd" "sm_ban #1 30 voteban"
The downsides to this method are:
1) The vote initiator must specify the target in the command (i.e. "voteban chundo"). v0.3 (almost done, hooray for days off) solves this by prompting for missing parameters via menus.
2) When passing a user as a parameter, I don't check for immunity (yet), so a regular user can start a voteban on an admin. This is mitigated in the above example by requiring an admin to approve the vote result. This will also be resolved in v0.3.
Of course, if you have PlayersVotes installed, the above trigger (voteban) will conflict with it.
With v0.3, I'll also include a "stock votes" configuration file, which so far includes: