*Edit: it seems you removed your other request, but here is my reply to that:
You can do that 'multiple' ways. Without going into a whole lot of detail (though I'm thinking of making a tutorial about this), you can use Map Config files, a Scripts Manager (like
J3ff's Scripts Manager), or use the following script (note the path in the first line in-case you're not sure what to save it as):
# ../addons/eventscripts/no_rounds/no_rounds.py
from es import ServerVar
# place any map prefixes that should 'always' have rounds
# you can remove the examples, but use the same syntax when adding prefixes
PREFIXES_TO_HAVE_ROUNDS = (
'gg_glass_',
'glass_',
)
# place all map names that should have rounds
# if a map's prefix is already in PREFIXES_TO_HAVE_ROUNDS, there is no need to add that map here
# again, remove the examples, but use the same syntax when adding new maps
MAPS_TO_HAVE_ROUNDS = [
'gg_somemap1',
'gg_somemap2',
]
# Set to the number of minutes to set mp_roundtime to on maps with rounds
ROUND_TIME = 3
###############################
# DO NOT EDIT BELOW THIS LINE #
###############################
current_map = ServerVar('eventscripts_currentmap')
no_rounds = ServerVar('mp_ignore_round_win_conditions')
round_time = ServerVar('mp_roundtime')
def load():
checkMap()
def es_map_start(ev):
checkMap()
def checkMap():
mapname = str(current_map)
if mapname.startswith(PREFIXES_TO_HAVE_ROUNDS) or mapname in MAPS_TO_HAVE_ROUNDS:
no_rounds.set(0)
round_time.set(ROUND_TIME)
else:
no_rounds.set(1)
round_time.set(0)
This is untested, but I believe should work.
Satoon