In dm server, if one map is played, voting for the same map must be over 60% than any other map, or else other map starts, 3rd time voting for that map must be over 70% or else other map starts for exemple one map has 40% and this one that is about to be played for 3rd time has 60%, the map with 40% starts,, then 4th time must be over 80% and so on, once you got the script, its just copy pasting and fixing numbers.