

The map vote plugin lets users vote for the map they want to play.  It
includes the ability for an admin to manage maps votes, including denying
a map for a particular vote, and quarantining maps so users cannot vote
for recently played maps.

IMPORTANT NOTE:  This plugin requires LogD to run properly.
(http://logd.sourceforge.net/)

The mapvote uses your the standard mp_timelimit variable to determine
how long a map will last, but it clobbers the value each map, so other
how-much-time-is-left things may not work properly.

It uses the mp_roundtime variable to determine how long the round is, 
and cause the map to switch on an end-of-round boundry if there is not
enough time for another full round.

It uses the AdminMod map_ratio variable to determine the percentage of 
people needed to win a map vote.

It uses the AdminMod admin_vote_freq variable to determine how soon after
a map starts (and how often after that) the users are allowed to call
for a map vote.

It uses your mapcycle.txt file to pull the list of available maps that
users can vote into play.

It uses a file called lastmaps.txt to quarantine past maps.  The number
of quarantined maps is the number of maps in this file.  It will remove
maps when they are no longer quarantined, and add the current map to
the list.  (One map, the current one, must always be quarantined.  Note
that users can just vote extend to continue playing.  These measures
were done to stop a losing team from calling a vote and voting for the 
same map just to wipe out the winning team's cash.)  Seed this file with
the number of maps you want to quarantine (usually about three is nice).

The commands follow.  All parameters are shown in angle brackets <>.

  say mapvote - start a map vote, if enough time has passed/is left
  say rockthevote - same as mapvote
  say vote <map> - vote for a map.  uses reasonably intelligent guessing
                   and substring matching to identify map
  say timeleft - says how much time is remaining on the map
  say votetime - says how much time is remaining in the current vote
  
  admin_startvote - start a vote, even if enough time hasn't passed
  admin_cancelvote - cancel a vote in progress (mapvote may be restarted
                     immediately)
  admin_map <map> - switch to another map immediately
  admin_denymap <map> - remove votes for a particular map and disallow
                        subsequent votes
  listmaps - prints list of maps in console, including quarantined and
             denied map flags, along with the number of current votes 
             for each

For the latest version of this plugin, check the ASY clan website at:
http://elmer.ices.cmu.edu/cstrike/links/
If you find bugs, or have other feedback, you can contact me at:
sirdodger@collegeclub.com

I would like to thank zagor, who wrote the original version of this 
plugin.  The primary reason for modifying it was that timers are overused
in plugins, and can fail if too many are concurrently running.  This version
of the plugin uses no timers, and incorporates a number of nice features
that I desperately wanted for a map plugin.  Feel free to steal and modify 
this plugin as you see fit (though if you do anything cool with it, I'd 
love to hear about it!).  If there are any complaints or bugs, let me know, 
and I'll try to help out.

-SD
