@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 25100 Watchdog
:srcds
echo (%time%) l4d2-server1 started.
start /wait srcds.exe -tickrate 100 -restart -console -game left4dead2 +port 27016 +maxplayers 8 -nowatchdog -debug +fps_max 600 +map c5m3_cemetery versus +exec l4d2-vs1.cfg +map c1m1_hotel versus
echo (%time%) WARNING: l4d2-server1 closed or crashed, restarting.
goto srcds