//TS 3.0 setup script

seta TSsetup "vstr TS1"
seta TS1 "ut_echo TS Step 1/22: Timelimit set to 20; rcon timelimit 20; set TSsetup vstr TS2"
seta TS2 "ut_echo TS Step 2/22: Fraglimit set to 0; rcon fraglimit 0; set TSsetup vstr TS3"
seta TS3 "ut_echo TS Step 3/22: Disables warmup; rcon g_dowarmup 0; set TSsetup vstr TS4"
seta TS4 "ut_echo TS Step 4/22: g_followStrict set to 1; rcon g_followStrict 1; set TSsetup vstr TS5"
seta TS5 "ut_echo TS Step 5/22: g_matchMode set to 1; rcon g_matchMode 1; set TSsetup vstr TS6"
seta TS6 "ut_echo TS Step 6/22: g_friendlyfire set to 2; rcon g_friendlyfire 2; set TSsetup vstr TS7"
seta TS7 "ut_echo TS Step 7/22: g_maintainteam set to 1; rcon g_maintainteam 1; set TSsetup vstr TS8"
seta TS8 "ut_echo TS Step 8/22: g_teamforcebalance set to 0; rcon g_teamforcebalance 0; set TSsetup vstr TS9"
seta TS9 "ut_echo TS Step 9/22: g_teamautojoin set to 0; rcon g_teamautojoin 0; set TSsetup vstr TS10"
seta TS10 "ut_echo TS Step 10/22: g_pauseLength set to 240; rcon g_pauseLength 240; set TSsetup vstr TS11"
seta TS11 "ut_echo TS Step 11/22: capturelimit set to 0; rcon capturelimit 0; set TSsetup vstr TS12"
seta TS12 "ut_echo TS Step 12/22: Flood Protect set to 0; rcon sv_floodprotect 0; set TSsetup vstr TS13"
seta TS13 "ut_echo TS Step 13/22: g_antiwarp set to 1; rcon g_antiwarp 1; set TSsetup vstr TS14"
seta TS14 "ut_echo TS Step 14/22: g_antiwarpTol set to 50; rcon g_antiwarpTol 50; set TSsetup vstr TS15"
seta TS15 "ut_echo TS Step 15/22: g_survivorroundtime set to 4; rcon g_survivorroundtime 4; set TSsetup vstr TS16"
seta TS16 "ut_echo TS Step 16/22: pb_sv_enable set to 1; rcon pb_sv_enable; set TSsetup vstr TS17"
seta TS17 "ut_echo TS Step 17/22: g_suddendeath set to 0; rcon g_suddendeath 0; set TSsetup vstr TS18"
seta TS18 "ut_echo TS Step 18/22: g_respawnProtection set to 0; rcon g_respawnProtection 0; set TSsetup vstr TS19"
seta TS19 "ut_echo TS Step 19/22: g_timeouts set to 3; rcon g_timeouts 3; set TSsetup vstr TS20"
seta TS20 "ut_echo TS Step 20/22: g_timeoutLength 240; rcon g_timeoutLength 240; set TSsetup vstr TS21"
seta TS21 "ut_echo TS Step 21/22: g_maxrounds set to 0; rcon g_maxrounds 0; set TSsetup vstr TS22"
seta TS22 "ut_echo TS Step 22/22: Gametype set to 4 (TS); rcon g_gametype 4;ut_echo TS server setup finished; set TSsetup vstr TS1"
bind "g" "vstr TSsetup"
