add:
{
	"origin" "-10064 -32 6592"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "4"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "761767"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,2,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "764338"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,3,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"hammerid" "853652"
	}
	insert:
	{
		"OnStartTouch" "TheCurrentLevelPlugin,SetValue,4,0,1"
	}
}

;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;STAGE3: FIX TORCH SYSTEM
;-------------------------

modify:
{
	match:
	{
		"targetname" "stage_trigger"
		"origin" "-10064 -32 6592"
		"classname" "trigger_once"
		"hammerid" "764338"
	}
	insert:
	{
		"OnTrigger" "jungletemp_levers_torch4_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch4_on,Enable,,0,-1"

		"OnTrigger" "jungletemp_levers_torch2_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch2_on,Enable,,0,-1"
		
		"OnTrigger" "jungletemp_levers_torch3_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch3_on,Enable,,0,-1"
	
		"OnTrigger" "jungletemp_levers_torch7_off,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch7_on,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch7_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch7_on,Enable,,0,-1"
		
		"OnTrigger" "jungletemp_levers_torch8_off,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch8_on,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch8_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch8_on,Enable,,0,-1"
		
		"OnTrigger" "jungletemp_levers_torch9_off,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch9_on,Alpha,255,0,-1"
		"OnTrigger" "jungletemp_levers_torch9_off,Disable,,0,-1"
		"OnTrigger" "jungletemp_levers_torch9_on,Enable,,0,-1"
	}
}

;-------------------------
;HEAL: FILTER TO CT ONLY
;-------------------------

modify:
{
	match:
	{
		"targetname" "heal1_trigger"
		"classname" "trigger_hurt"
		"hammerid" "184435"
	}
	insert:
	{
		"filtername" "ct_filter"
	}
}

;--------------------------
;STAGE2: FIX ZTELE EXPLOIT
;--------------------------

; The lava 
modify:
{
	match:
	{
		"targetname" "nether_lava"
		"origin" "-3312 8000 4644"
		"classname" "trigger_teleport"
		"hammerid" "175615"
	}
	insert:
	{
		"OnUser1" "!self,AddOutput,target nether_lavadest5,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "nether_lava"
		"origin" "-624 7344 5432"
		"classname" "trigger_teleport"
		"hammerid" "1517050"
	}
	insert:
	{
		"OnUser1" "!self,AddOutput,target nether_boss_dest,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "nether_ghast_kill"
		"classname" "logic_relay"
		"hammerid" "214506"
	}
	delete:
	{
		"OnTrigger" "nether_lava,AddOutput,target nether_lavadest5,10,-1"
	}
	insert:
	{
		"OnTrigger" "nether_lava,FireUser1,,10,-1"
	}
}

;-----------------------
;-----MARATHON MODE-----
;-----------------------

modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "command,Command,mp_roundtime 40,0,-1"
	}
}

filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage1_points"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage1_ctcheck"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage1_zmcheck"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "stage1_win"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage2_points"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage2_ctcheck"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage2_zmcheck"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "stage2_win"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage3_points"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage3_ctcheck"
}
filter:
{
	"classname" "trigger_multiple"
	"targetname" "stage3_zmcheck"
}
filter:
{
	"classname" "logic_relay"
	"targetname" "stage3_win"
}


;-----STAGE 1 TRANSITION-----
filter:
{
	"classname" "trigger_once"
	"targetname" "stage_trigger"
	"hammerid" "761767"
}
add:
{
	"model" "*201"
	"targetname" "stage1_transition"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-784 6624 5472"
	"classname" "trigger_once"
	"OnTrigger" "stage2_template,ForceSpawn,,0,-1"
	"OnTrigger" "command,Command,say *** CURRENT STAGE IS 2: The Nether ***,0,-1"
	"OnTrigger" "torch_template,AddOutput,origin -1264 6624 5122,0,-1"
	"OnTrigger" "torch_template2,AddOutput,origin -1236 6405 5495,0,-1"
	"OnTrigger" "torch_template2,ForceSpawn,,0.05,-1"
	"OnTrigger" "torch_template,ForceSpawn,,0.05,-1"
	"OnTrigger" "heal1_template,ForceSpawn,,1,-1"
	"OnTrigger" "stage2_music_case,PickRandom,,4,-1"
	"OnTrigger" "sky1,Kill,,0,-1"
	"OnTrigger" "nether_portaltexture,Alpha,0,0,-1"
	"OnTrigger" "fog,TurnOff,,0.5,-1"
	"OnTrigger" "nether_boss_wall1,Enable,,0,-1"
	"OnTrigger" "bow_template2,ForceSpawn,,0,-1"
	"OnTrigger" "stage2_spawntele,Enable,,0,-1"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "stage2_random"
		"hammerid" "165776"
	}
	replace:
	{
		"filtername" "ct_filter"
	}
	insert:
	{
		"OnStartTouch" "stage2_zm_spawn_push,Disable,,8,-1"
	}
}
modify:
{
	match:
	{
		"classname" "func_door"
		"targetname" "nether_bunker"
	}
	insert:
	{
		"OnFullyClosed" "zm_tp_stage2_marathon,Enable,,0,-1"
		"OnFullyClosed" "stage2_zm_spawn_push,Enable,,0,-1"
		"OnFullyClosed" "nether_bunker,Open,,0,-1"
		"OnFullyClosed" "stage1_transition,Enable,,0,1"
	}
}
add:
{
	"model" "*414"
	"classname" "trigger_teleport"
	"targetname" "zm_tp_stage2_marathon"
	"origin" "-1600 6512 5376"
	"filtername" "t_filter"
	"target" "zm_tp_stage2_marathon_dest"
	"spawnflags" "1"
	"StartDisabled" "1"
	"OnStartTouch" "zm_tp_stage2_marathon,Disable,,0,-1"
}
add:
{
	"classname" "info_teleport_destination"
	"targetname" "zm_tp_stage2_marathon_dest"
	"angles" "0 270 0"
	"origin" "-624 7424 5460"
}
add:
{
	"model" "*403"
	"classname" "trigger_push"
	"targetname" "stage2_zm_spawn_push"
	"filtername" "t_filter"
	"origin" "-528 7208 5488"
	"StartDisabled" "1"
	"spawnflags" "1"
	"pushdir" "0 90 0"
	"speed" "400"
}


;-----STAGE 2 TRANSITION-----
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"targetname" "nether_kill"
	}
	replace:
	{
		"filtername" "ct_filter"
	}
}
add:
{
	"model" "*385"
	"classname" "trigger_teleport"
	"targetname "zm_tp_stage3_marathon"
	"origin" "-2328 6640 5408"
	"filtername" "t_filter"
	"target" "zm_tp_stage3_marathon_dest"
	"spawnflags" "1"
	"StartDisabled" "1"
}
add:
{
	"classname" "info_teleport_destination"
	"targetname" "zm_tp_stage3_marathon_dest"
	"angles" "0 90 0"
	"origin" "-9968 -560 6580"
}
filter:
{
	"classname" "trigger_once"
	"targetname" "stage_trigger"
	"hammerid" "764338"
}
add:
{
	"model" "*206"
	"targetname" "stage2_transition"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-10000 -704 6592"
	"classname" "trigger_once"
	"OnTrigger" "stage3_template,ForceSpawn,,0,-1"
	"OnTrigger" "stage3_wall,Toggle,,0,-1"
	"OnTrigger" "command,Command,say *** CURRENT STAGE IS 3: Jungle ***,0,-1"
	"OnTrigger" "jungletemp_press6_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press7_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press7_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press8_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press8_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press1_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press1_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press2_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press2_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press3_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press3_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press6_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press4_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press4_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press5_on,Disable,,0,-1"
	"OnTrigger" "jungletemp_press5_off,Enable,,0,-1"
	"OnTrigger" "jungletemp_press5_8_on,Enable,,0,-1"
	"OnTrigger" "jungletemp_press5_8_off,Disable,,0,-1"
	"OnTrigger" "jungletemp_press1_4_on,Enable,,0,-1"
	"OnTrigger" "jungletemp_press1_4_off,Disable,,0,-1"
	"OnTrigger" "jungletemp_levers_rs1_fail,Enable,,0,-1"
	"OnTrigger" "jungletemp_levers_rs1_done,Disable,,0,-1"
	"OnTrigger" "jungletemp_levers_torch4_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_levers_torch4_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_levers_torch2_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_levers_torch2_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_levers_torch3_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_levers_torch3_on,Alpha,255,0,-1"
	"OnTrigger" "sky1,Kill,,0,-1"
	"OnTrigger" "stage3_pplcount,Enable,,5,-1"
	"OnTrigger" "jungletemp_levers_rs2_done,Disable,,0,-1"
	"OnTrigger" "jungletemp_levers_rs2_fail,Enable,,0,-1"
	"OnTrigger" "jungletemp_levers_case,PickRandom,,0,-1"
	"OnTrigger" "stage3_music_case,PickRandom,,4,-1"
	"OnTrigger" "jungletemp_pressure_plate,Enable,,0,-1"
	"OnTrigger" "jungletemp_press8_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press8_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press6_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press6_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press4_off,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press4_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press2_on,Alpha,255,0,-1"
	"OnTrigger" "jungletemp_press2_off,Alpha,255,0,-1"
	"OnTrigger" "flintsteel_template,ForceSpawn,,0,-1"
	"OnTrigger" "stage3_spawntele,Enable,,0,-1"
	"OnTrigger" "stage2_wall,Toggle,,0,-1"
	"OnTrigger" "zm_tp_stage3_marathon,Enable,8,-1"
}
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname "nether_ghast_kill"
	}
	insert:
	{
		"OnTrigger" "stage2_transition,Enable,,66,1"
	}
}


;-----STAGE 3 TRANSITION-----
filter:
{
	"classname" "trigger_hurt"
	"targetname" "jungle_hurt"
}
add:
{
	"model" "*268"
	"classname" "trigger_teleport"
	"targetname" "zm_tp_stage4_marathon"
	"filtername" "t_filter"
	"spawnflags" "1"
	"StartDisabled" "1"
	"origin" "-11968 -7760 7696"
	"target" "zm_tp_stage4_marathon_dest"
}
add:
{
	"classname" "info_teleport_destination"
	"targetname" "zm_tp_stage4_marathon_dest"
	"angles" "0 90 0"
	"origin" "-12480 -7216 6804"
}
add:
{
	"model" "*138"
	"classname" "trigger_push"
	"targetname" "stage4_zm_spawn_push"
	"filtername" "t_filter"
	"spawnflags" "1"
	"StartDisabled" "1"
	"origin" "-12496 -7120 6824"
	"pushdir" "0 270 0"
	"speed" "400"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "stage3_random"
		"hammerid" "1330982"
	}
	insert:
	{
		"OnTrigger" "zm_tp_stage4_marathon,Enable,,63,1"
		"OnTrigger" "stage4_zm_spawn_push,Enable,,63,1"
		"OnTrigger" "stage3_transition,Enable,,63,1"
	}
}
filter:
{
	"classname" "trigger_once"
	"targetname" "stage_trigger"
	"hammerid" "853652"
}
add:
{
	"model" "*341"
	"targetname" "stage3_transition"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-12320 -7712 8096"
	"classname" "trigger_once"
	"OnTrigger" "stage4_template,ForceSpawn,,0,-1"
	"OnTrigger" "stage4_wall,Toggle,,0,-1"
	"OnTrigger" "command,Command,say *** CURRENT STAGE IS 4: The End ***,0,-1"
	"OnTrigger" "command,Command,say *** THROW EYE OF ENDER BY USING IT ***,5,-1"
	"OnTrigger" "shaft_wall1_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall1_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall1_3,Enable,,0,-1"
	"OnTrigger" "shaft_wall2_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall2_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall3_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall3_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall4_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall4_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall5_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall5_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall1_1,Enable,,0,-1"
	"OnTrigger" "shaft_case1,PickRandom,,0,-1"
	"OnTrigger" "jungletemp_press_trigger1,Kill,,0,-1"
	"OnTrigger" "jungletemp_press_trigger2,Kill,,0,-1"
	"OnTrigger" "stronghold_portal,Alpha,0,0,-1"
	"OnTrigger" "sky1,Kill,,0,-1"
	"OnTrigger" "heal1_template,AddOutput,origin -5872 -6512 6696,0.5,-1"
	"OnTrigger" "torch_template2,ForceSpawn,,0,-1"
	"OnTrigger" "torch_template,ForceSpawn,,1,-1"
	"OnTrigger" "heal1_template,ForceSpawn,,1,-1"
	"OnTrigger" "stage4_music_case,PickRandom,,4,-1"
	"OnTrigger" "stage3_wall,Toggle,,0,-1"
	"OnTrigger" "shaft_wall6_1,Enable,,0,-1"
	"OnTrigger" "shaft_wall6_2,Enable,,0,-1"
	"OnTrigger" "shaft_wall5_3,Enable,,0,-1"
	"OnTrigger" "flintsteel_template,AddOutput,origin -6032 -6655.99 6696,0,-1"
	"OnTrigger" "flintsteel_template,ForceSpawn,,0.05,-1"
	"OnTrigger" "stage4_spawntele,Enable,,0,-1"
	"OnTrigger" "jungletemp_press_trigger1b,Kill,,0,-1"
	"OnTrigger" "jungletemp_press_trigger2b,Kill,,0,-1"
	"OnTrigger" "jungletemp_pressure_plate,Enable,,0,-1"
	"OnTrigger" "stage4_zm_spawn_push,Disable,,8,1"
}
