local function FireChemicles(player)
	if G_BuildMapName(mapnum) == "MAPXC" then
	chatprint("\x81".."*".."\x87".."Lava Lifts Zone".."\x81".."* ".."\x85".."Volcanic eruption! Sudden death! Race to the top sector!")
	elseif G_BuildMapName(mapnum) == "MAPXE" then
	chatprint("\x83".."*".."\x81".."Chemical Clash Zone".."\x83".."* ".."\x85".."Draining chemicals! Closing outer sector.")
	elseif G_BuildMapName(mapnum) == "MAPXD" then
	chatprint("\x86".."*".."\x83".."Radioactive Ring Zone".."\x86".."* ".."\x82".."Apmlifying chemical power to painful.")
		elseif G_BuildMapName(mapnum) == "MAPXH" then
	chatprint("\x8F".."*".."\x8D".."Rocket Castle Zone".."\x8F".."* ".."\x85".."The death moat is rising! Flee to the castle!")

	end
end

local function ChemDrain(player)
	if G_BuildMapName(mapnum) == "MAPXE" then
	chatprint("\x83".."*".."\x81".."Chemical Clash Zone".."\x83".."* Chemicals drained! Opening outer sector.")
	elseif G_BuildMapName(mapnum) == "MAPXD" then
	chatprint("\x86".."*".."\x83".."Radioactive Ring Zone".."\x86".."* ".."\x85".."Apmlifying chemical power to lethal.")
	end
end

addHook("LinedefExecute", FireChemicles, "DRAGONEV")
addHook("LinedefExecute", ChemDrain, "DRAGONVE")
