//CTF 3.0 setup script

seta ctfsetup "vstr CTF1"
seta CTF1 "ut_echo CTF Step 1/25: Timelimit set to 20; rcon timelimit 20; set ctfsetup vstr CTF2"
seta CTF2 "ut_echo CTF Step 2/25: Fraglimit set to 0; rcon fraglimit 0; set ctfsetup vstr CTF3"
seta CTF3 "ut_echo CTF Step 3/25: Capturelimit set to 0; rcon capturelimit 0; set ctfsetup vstr CTF4"
seta CTF4 "ut_echo CTF Step 4/25: Disables warmup; rcon g_dowarmup 0; set CTFsetup vstr CTF5"
seta CTF5 "ut_echo CTF Step 5/25: g_followStrict set to 1; rcon g_followStrict 1; set CTFsetup vstr CTF6"
seta CTF6 "ut_echo CTF Step 6/25: g_matchMode set to 1; rcon g_matchMode 1; set CTFsetup vstr CTF7"
seta CTF7 "ut_echo CTF Step 7/25: g_friendlyfire set to 2; rcon g_friendlyfire 2; set CTFsetup vstr CTF8"
seta CTF8 "ut_echo CTF Step 8/25: g_maintainteam set to 1; rcon g_maintainteam 1; set CTFsetup vstr CTF9"
seta CTF9 "ut_echo CTF Step 9/25: g_teamforcebalance set to 0; rcon g_teamforcebalance 0; set CTFsetup vstr CTF10"
seta CTF10 "ut_echo CTF Step 10/25: g_teamautojoin set to 0; rcon g_teamautojoin 0; set CTFsetup vstr CTF11"
seta CTF11 "ut_echo CTF Step 11/25: g_pauseLength set to 240; rcon g_pauseLength 240; set CTFsetup vstr CTF12"
seta CTF12 "ut_echo CTF Step 12/25: Respawn Protection set to 3; rcon g_respawnProtection 3; set CTFsetup vstr CTF13"
seta CTF13 "ut_echo CTF Step 13/25: Flood Protect set to 0; rcon sv_floodprotect 0; set CTFsetup vstr CTF14"
seta CTF14 "ut_echo CTF Step 14/25: g_waveRespawns set to 1; rcon g_waveRespawns 1; set CTFsetup vstr CTF15"
seta CTF15 "ut_echo CTF Step 15/25: g_redWaveRespawnDelay set to 15; rcon g_redWaveRespawnDelay 15; set CTFsetup vstr CTF16"
seta CTF16 "ut_echo CTF Step 16/25: g_blueWaveRespawnDelay set to 15; rcon g_blueWaveRespawnDelay 15; set CTFsetup vstr CTF17"
seta CTF17 "ut_echo CTF Step 17/25: g_flagReturnTime set to 60; rcon g_flagReturnTime 60; set CTFsetup vstr CTF18"
seta CTF18 "ut_echo CTF Step 18/25: g_timeouts set to 3; rcon seta g_timeouts 3; set CTFsetup vstr CTF19"
seta CTF19 "ut_echo CTF Step 19/25: g_timeoutLength set to 120; rcon seta g_timeoutLength 120; set CTFsetup vstr CTF20"
seta CTF20 "ut_echo CTF Step 20/25: g_suddendeath set to 0; rcon g_suddendeath 0; set CTFsetup vstr CTF21"
seta CTF21 "ut_echo CTF Step 21/25: g_antiwarp set to 1; rcon g_antiwarp 1; set CTFsetup vstr CTF22"
seta CTF22 "ut_echo CTF Step 22/25: g_antiwarpTol set to 50; rcon g_antiwarpTol 50; set CTFsetup vstr CTF23"
seta CTF23 "ut_echo CTF Step 23/25: Punkbuster server enabled; rcon pb_sv_enable; set CTFsetup vstr CTF24"
seta CTF24 "ut_echo CTF Step 24/25: g_maxrounds set to 0; rcon g_maxrounds 0; set CTFsetup vstr CTF25"
seta CTF25 "ut_echo CTF Step 25/25: Gametype set to 7 (CTF); rcon g_gametype 7;ut_echo CTF server setup finished; set CTFsetup vstr CTF1"
bind "g" "vstr CTFsetup"
