09-02-2008, 11:08 AM
Is there any way to start a server with a random map? My current starting script is:
Where
orangebox\srcds.exe -console -game tf +map phys_toweralpha_3 +maxplayers 24
starts the server and the rest is for crash security. Can anyone tell me if my question is possible?
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait orangebox\srcds.exe -console -game tf +map phys_toweralpha_3 +maxplayers 24
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Where
orangebox\srcds.exe -console -game tf +map phys_toweralpha_3 +maxplayers 24
starts the server and the rest is for crash security. Can anyone tell me if my question is possible?