deleteLine()

if tonumber(matches[3]) > 1 then
	send("talisman combine "..matches[9].." "..matches[6])
end

----------------------------------------------------------------------------------
-- Black Dragon
----------------------------------------------------------------------------------
if matches[9] == "blackdragonclaw" then
	if matches[6] == "1" then
		haveblackdragonclaw = haveblackdragonclaw + 1
	elseif matches[6] == "2" then
		haveblackdragonclaw = haveblackdragonclaw + 2
	elseif matches[6] == "3" then
		haveblackdragonclaw = haveblackdragonclaw + 4
	elseif matches[6] == "4" then
		haveblackdragonclaw = haveblackdragonclaw + 8
	elseif matches[6] == "5" then
		haveblackdragonclaw = haveblackdragonclaw + 16
	elseif matches[6] == "6" then
		haveblackdragonclaw = haveblackdragonclaw + 32
	elseif matches[6] == "7" then
		haveblackdragonclaw = haveblackdragonclaw + 64
	end
end
if matches[9] == "blackdragonheart" then
	if matches[6] == "1" then
		haveblackdragonheart = haveblackdragonheart + 1
	elseif matches[6] == "2" then
		haveblackdragonheart = haveblackdragonheart + 2
	elseif matches[6] == "3" then
		haveblackdragonheart = haveblackdragonheart + 4
	elseif matches[6] == "4" then
		haveblackdragonheart = haveblackdragonheart + 8
	elseif matches[6] == "5" then
		haveblackdragonheart = haveblackdragonheart + 16
	elseif matches[6] == "6" then
		haveblackdragonheart = haveblackdragonheart + 32
	elseif matches[6] == "7" then
		haveblackdragonheart = haveblackdragonheart + 64
	end
end
if matches[9] == "blackdragontooth" then
	if matches[6] == "1" then
		haveblackdragontooth = haveblackdragontooth + 1
	elseif matches[6] == "2" then
		haveblackdragontooth = haveblackdragontooth + 2
	elseif matches[6] == "3" then
		haveblackdragontooth = haveblackdragontooth + 4
	elseif matches[6] == "4" then
		haveblackdragontooth = haveblackdragontooth + 8
	elseif matches[6] == "5" then
		haveblackdragontooth = haveblackdragontooth + 16
	elseif matches[6] == "6" then
		haveblackdragontooth = haveblackdragontooth + 32
	elseif matches[6] == "7" then
		haveblackdragontooth = haveblackdragontooth + 64
	end
end
if matches[9] == "blackdragonscale" then
	if matches[6] == "1" then
		haveblackdragonscale = haveblackdragonscale + 1
	elseif matches[6] == "2" then
		haveblackdragonscale = haveblackdragonscale + 2
	elseif matches[6] == "3" then
		haveblackdragonscale = haveblackdragonscale + 4
	elseif matches[6] == "4" then
		haveblackdragonscale = haveblackdragonscale + 8
	elseif matches[6] == "5" then
		haveblackdragonscale = haveblackdragonscale + 16
	elseif matches[6] == "6" then
		haveblackdragonscale = haveblackdragonscale + 32
	elseif matches[6] == "7" then
		haveblackdragonscale = haveblackdragonscale + 64
	end
end
if matches[9] == "blackdragonleather" then
	if matches[6] == "1" then
		haveblackdragonleather = haveblackdragonleather + 1
	elseif matches[6] == "2" then
		haveblackdragonleather = haveblackdragonleather + 2
	elseif matches[6] == "3" then
		haveblackdragonleather = haveblackdragonleather + 4
	elseif matches[6] == "4" then
		haveblackdragonleather = haveblackdragonleather + 8
	elseif matches[6] == "5" then
		haveblackdragonleather = haveblackdragonleather + 16
	elseif matches[6] == "6" then
		haveblackdragonleather = haveblackdragonleather + 32
	elseif matches[6] == "7" then
		haveblackdragonleather = haveblackdragonleather + 64
	end
end
if matches[9] == "blackdragonbone" then
	if matches[6] == "1" then
		haveblackdragonbone = haveblackdragonbone + 1
	elseif matches[6] == "2" then
		haveblackdragonbone = haveblackdragonbone + 2
	elseif matches[6] == "3" then
		haveblackdragonbone = haveblackdragonbone + 4
	elseif matches[6] == "4" then
		haveblackdragonbone = haveblackdragonbone + 8
	elseif matches[6] == "5" then
		haveblackdragonbone = haveblackdragonbone + 16
	elseif matches[6] == "6" then
		haveblackdragonbone = haveblackdragonbone + 32
	elseif matches[6] == "7" then
		haveblackdragonbone = haveblackdragonbone + 64
	end
end
if matches[9] == "blackdragoneye" then
	if matches[6] == "1" then
		haveblackdragoneye = haveblackdragoneye + 1
	elseif matches[6] == "2" then
		haveblackdragoneye = haveblackdragoneye + 2
	elseif matches[6] == "3" then
		haveblackdragoneye = haveblackdragoneye + 4
	elseif matches[6] == "4" then
		haveblackdragoneye = haveblackdragoneye + 8
	elseif matches[6] == "5" then
		haveblackdragoneye = haveblackdragoneye + 16
	elseif matches[6] == "6" then
		haveblackdragoneye = haveblackdragoneye + 32
	elseif matches[6] == "7" then
		haveblackdragoneye = haveblackdragoneye + 64
	end
end
if matches[9] == "blackdragonsac" then
	if matches[6] == "1" then
		haveblackdragonacidsac = haveblackdragonacidsac + 1
	elseif matches[6] == "2" then
		haveblackdragonacidsac = haveblackdragonacidsac + 2
	elseif matches[6] == "3" then
		haveblackdragonacidsac = haveblackdragonacidsac + 4
	elseif matches[6] == "4" then
		haveblackdragonacidsac = haveblackdragonacidsac + 8
	elseif matches[6] == "5" then
		haveblackdragonacidsac = haveblackdragonacidsac + 16
	elseif matches[6] == "6" then
		haveblackdragonacidsac = haveblackdragonacidsac + 32
	elseif matches[6] == "7" then
		haveblackdragonacidsac = haveblackdragonacidsac + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
-- Gold Dragon
----------------------------------------------------------------------------------
if matches[9] == "golddragonclaw" then
	if matches[6] == "1" then
		havegolddragonclaw = havegolddragonclaw + 1
	elseif matches[6] == "2" then
		havegolddragonclaw = havegolddragonclaw + 2
	elseif matches[6] == "3" then
		havegolddragonclaw = havegolddragonclaw + 4
	elseif matches[6] == "4" then
		havegolddragonclaw = havegolddragonclaw + 8
	elseif matches[6] == "5" then
		havegolddragonclaw = havegolddragonclaw + 16
	elseif matches[6] == "6" then
		havegolddragonclaw = havegolddragonclaw + 32
	elseif matches[6] == "7" then
		havegolddragonclaw = havegolddragonclaw + 64
	end
end
if matches[9] == "golddragonheart" then
	if matches[6] == "1" then
		havegolddragonheart = havegolddragonheart + 1
	elseif matches[6] == "2" then
		havegolddragonheart = havegolddragonheart + 2
	elseif matches[6] == "3" then
		havegolddragonheart = havegolddragonheart + 4
	elseif matches[6] == "4" then
		havegolddragonheart = havegolddragonheart + 8
	elseif matches[6] == "5" then
		havegolddragonheart = havegolddragonheart + 16
	elseif matches[6] == "6" then
		havegolddragonheart = havegolddragonheart + 32
	elseif matches[6] == "7" then
		havegolddragonheart = havegolddragonheart + 64
	end
end
if matches[9] == "golddragontooth" then
	if matches[6] == "1" then
		havegolddragontooth = havegolddragontooth + 1
	elseif matches[6] == "2" then
		havegolddragontooth = havegolddragontooth + 2
	elseif matches[6] == "3" then
		havegolddragontooth = havegolddragontooth + 4
	elseif matches[6] == "4" then
		havegolddragontooth = havegolddragontooth + 8
	elseif matches[6] == "5" then
		havegolddragontooth = havegolddragontooth + 16
	elseif matches[6] == "6" then
		havegolddragontooth = havegolddragontooth + 32
	elseif matches[6] == "7" then
		havegolddragontooth = havegolddragontooth + 64
	end
end
if matches[9] == "golddragonscale" then
	if matches[6] == "1" then
		havegolddragonscale = havegolddragonscale + 1
	elseif matches[6] == "2" then
		havegolddragonscale = havegolddragonscale + 2
	elseif matches[6] == "3" then
		havegolddragonscale = havegolddragonscale + 4
	elseif matches[6] == "4" then
		havegolddragonscale = havegolddragonscale + 8
	elseif matches[6] == "5" then
		havegolddragonscale = havegolddragonscale + 16
	elseif matches[6] == "6" then
		havegolddragonscale = havegolddragonscale + 32
	elseif matches[6] == "7" then
		havegolddragonscale = havegolddragonscale + 64
	end
end
if matches[9] == "golddragonleather" then
	if matches[6] == "1" then
		havegolddragonleather = havegolddragonleather + 1
	elseif matches[6] == "2" then
		havegolddragonleather = havegolddragonleather + 2
	elseif matches[6] == "3" then
		havegolddragonleather = havegolddragonleather + 4
	elseif matches[6] == "4" then
		havegolddragonleather = havegolddragonleather + 8
	elseif matches[6] == "5" then
		havegolddragonleather = havegolddragonleather + 16
	elseif matches[6] == "6" then
		havegolddragonleather = havegolddragonleather + 32
	elseif matches[6] == "7" then
		havegolddragonleather = havegolddragonleather + 64
	end
end
if matches[9] == "golddragonbone" then
	if matches[6] == "1" then
		havegolddragonbone = havegolddragonbone + 1
	elseif matches[6] == "2" then
		havegolddragonbone = havegolddragonbone + 2
	elseif matches[6] == "3" then
		havegolddragonbone = havegolddragonbone + 4
	elseif matches[6] == "4" then
		havegolddragonbone = havegolddragonbone + 8
	elseif matches[6] == "5" then
		havegolddragonbone = havegolddragonbone + 16
	elseif matches[6] == "6" then
		havegolddragonbone = havegolddragonbone + 32
	elseif matches[6] == "7" then
		havegolddragonbone = havegolddragonbone + 64
	end
end
if matches[9] == "golddragoneye" then
	if matches[6] == "1" then
		havegolddragoneye = havegolddragoneye + 1
	elseif matches[6] == "2" then
		havegolddragoneye = havegolddragoneye + 2
	elseif matches[6] == "3" then
		havegolddragoneye = havegolddragoneye + 4
	elseif matches[6] == "4" then
		havegolddragoneye = havegolddragoneye + 8
	elseif matches[6] == "5" then
		havegolddragoneye = havegolddragoneye + 16
	elseif matches[6] == "6" then
		havegolddragoneye = havegolddragoneye + 32
	elseif matches[6] == "7" then
		havegolddragoneye = havegolddragoneye + 64
	end
end
if matches[9] == "golddragonstem" then
	if matches[6] == "1" then
		havegolddragonbrainstem = havegolddragonbrainstem + 1
	elseif matches[6] == "2" then
		havegolddragonbrainstem = havegolddragonbrainstem + 2
	elseif matches[6] == "3" then
		havegolddragonbrainstem = havegolddragonbrainstem + 4
	elseif matches[6] == "4" then
		havegolddragonbrainstem = havegolddragonbrainstem + 8
	elseif matches[6] == "5" then
		havegolddragonbrainstem = havegolddragonbrainstem + 16
	elseif matches[6] == "6" then
		havegolddragonbrainstem = havegolddragonbrainstem + 32
	elseif matches[6] == "7" then
		havegolddragonbrainstem = havegolddragonbrainstem + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
-- Blue Dragon
----------------------------------------------------------------------------------
if matches[9] == "bluedragonclaw" then
	if matches[6] == "1" then
		havebluedragonclaw = havebluedragonclaw + 1
	elseif matches[6] == "2" then
		havebluedragonclaw = havebluedragonclaw + 2
	elseif matches[6] == "3" then
		havebluedragonclaw = havebluedragonclaw + 4
	elseif matches[6] == "4" then
		havebluedragonclaw = havebluedragonclaw + 8
	elseif matches[6] == "5" then
		havebluedragonclaw = havebluedragonclaw + 16
	elseif matches[6] == "6" then
		havebluedragonclaw = havebluedragonclaw + 32
	elseif matches[6] == "7" then
		havebluedragonclaw = havebluedragonclaw + 64
	end
end
if matches[9] == "bluedragonheart" then
	if matches[6] == "1" then
		havebluedragonheart = havebluedragonheart + 1
	elseif matches[6] == "2" then
		havebluedragonheart = havebluedragonheart + 2
	elseif matches[6] == "3" then
		havebluedragonheart = havebluedragonheart + 4
	elseif matches[6] == "4" then
		havebluedragonheart = havebluedragonheart + 8
	elseif matches[6] == "5" then
		havebluedragonheart = havebluedragonheart + 16
	elseif matches[6] == "6" then
		havebluedragonheart = havebluedragonheart + 32
	elseif matches[6] == "7" then
		havebluedragonheart = havebluedragonheart + 64
	end
end
if matches[9] == "bluedragontooth" then
	if matches[6] == "1" then
		havebluedragontooth = havebluedragontooth + 1
	elseif matches[6] == "2" then
		havebluedragontooth = havebluedragontooth + 2
	elseif matches[6] == "3" then
		havebluedragontooth = havebluedragontooth + 4
	elseif matches[6] == "4" then
		havebluedragontooth = havebluedragontooth + 8
	elseif matches[6] == "5" then
		havebluedragontooth = havebluedragontooth + 16
	elseif matches[6] == "6" then
		havebluedragontooth = havebluedragontooth + 32
	elseif matches[6] == "7" then
		havebluedragontooth = havebluedragontooth + 64
	end
end
if matches[9] == "bluedragonscale" then
	if matches[6] == "1" then
		havebluedragonscale = havebluedragonscale + 1
	elseif matches[6] == "2" then
		havebluedragonscale = havebluedragonscale + 2
	elseif matches[6] == "3" then
		havebluedragonscale = havebluedragonscale + 4
	elseif matches[6] == "4" then
		havebluedragonscale = havebluedragonscale + 8
	elseif matches[6] == "5" then
		havebluedragonscale = havebluedragonscale + 16
	elseif matches[6] == "6" then
		havebluedragonscale = havebluedragonscale + 32
	elseif matches[6] == "7" then
		havebluedragonscale = havebluedragonscale + 64
	end
end
if matches[9] == "bluedragonleather" then
	if matches[6] == "1" then
		havebluedragonleather = havebluedragonleather + 1
	elseif matches[6] == "2" then
		havebluedragonleather = havebluedragonleather + 2
	elseif matches[6] == "3" then
		havebluedragonleather = havebluedragonleather + 4
	elseif matches[6] == "4" then
		havebluedragonleather = havebluedragonleather + 8
	elseif matches[6] == "5" then
		havebluedragonleather = havebluedragonleather + 16
	elseif matches[6] == "6" then
		havebluedragonleather = havebluedragonleather + 32
	elseif matches[6] == "7" then
		havebluedragonleather = havebluedragonleather + 64
	end
end
if matches[9] == "bluedragonbone" then
	if matches[6] == "1" then
		havebluedragonbone = havebluedragonbone + 1
	elseif matches[6] == "2" then
		havebluedragonbone = havebluedragonbone + 2
	elseif matches[6] == "3" then
		havebluedragonbone = havebluedragonbone + 4
	elseif matches[6] == "4" then
		havebluedragonbone = havebluedragonbone + 8
	elseif matches[6] == "5" then
		havebluedragonbone = havebluedragonbone + 16
	elseif matches[6] == "6" then
		havebluedragonbone = havebluedragonbone + 32
	elseif matches[6] == "7" then
		havebluedragonbone = havebluedragonbone + 64
	end
end
if matches[9] == "bluedragoneye" then
	if matches[6] == "1" then
		havebluedragoneye = havebluedragoneye + 1
	elseif matches[6] == "2" then
		havebluedragoneye = havebluedragoneye + 2
	elseif matches[6] == "3" then
		havebluedragoneye = havebluedragoneye + 4
	elseif matches[6] == "4" then
		havebluedragoneye = havebluedragoneye + 8
	elseif matches[6] == "5" then
		havebluedragoneye = havebluedragoneye + 16
	elseif matches[6] == "6" then
		havebluedragoneye = havebluedragoneye + 32
	elseif matches[6] == "7" then
		havebluedragoneye = havebluedragoneye + 64
	end
end
if matches[9] == "bluedragonlung" then
	if matches[6] == "1" then
		havebluedragonlung = havebluedragonlung + 1
	elseif matches[6] == "2" then
		havebluedragonlung = havebluedragonlung + 2
	elseif matches[6] == "3" then
		havebluedragonlung = havebluedragonlung + 4
	elseif matches[6] == "4" then
		havebluedragonlung = havebluedragonlung + 8
	elseif matches[6] == "5" then
		havebluedragonlung = havebluedragonlung + 16
	elseif matches[6] == "6" then
		havebluedragonlung = havebluedragonlung + 32
	elseif matches[6] == "7" then
		havebluedragonlung = havebluedragonlung + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
-- Silver Dragon
----------------------------------------------------------------------------------
if matches[9] == "silverdragonclaw" then
	if matches[6] == "1" then
		havesilverdragonclaw = havesilverdragonclaw + 1
	elseif matches[6] == "2" then
		havesilverdragonclaw = havesilverdragonclaw + 2
	elseif matches[6] == "3" then
		havesilverdragonclaw = havesilverdragonclaw + 4
	elseif matches[6] == "4" then
		havesilverdragonclaw = havesilverdragonclaw + 8
	elseif matches[6] == "5" then
		havesilverdragonclaw = havesilverdragonclaw + 16
	elseif matches[6] == "6" then
		havesilverdragonclaw = havesilverdragonclaw + 32
	elseif matches[6] == "7" then
		havesilverdragonclaw = havesilverdragonclaw + 64
	end
end
if matches[9] == "silverdragonheart" then
	if matches[6] == "1" then
		havesilverdragonheart = havesilverdragonheart + 1
	elseif matches[6] == "2" then
		havesilverdragonheart = havesilverdragonheart + 2
	elseif matches[6] == "3" then
		havesilverdragonheart = havesilverdragonheart + 4
	elseif matches[6] == "4" then
		havesilverdragonheart = havesilverdragonheart + 8
	elseif matches[6] == "5" then
		havesilverdragonheart = havesilverdragonheart + 16
	elseif matches[6] == "6" then
		havesilverdragonheart = havesilverdragonheart + 32
	elseif matches[6] == "7" then
		havesilverdragonheart = havesilverdragonheart + 64
	end
end
if matches[9] == "silverdragontooth" then
	if matches[6] == "1" then
		havesilverdragontooth = havesilverdragontooth + 1
	elseif matches[6] == "2" then
		havesilverdragontooth = havesilverdragontooth + 2
	elseif matches[6] == "3" then
		havesilverdragontooth = havesilverdragontooth + 4
	elseif matches[6] == "4" then
		havesilverdragontooth = havesilverdragontooth + 8
	elseif matches[6] == "5" then
		havesilverdragontooth = havesilverdragontooth + 16
	elseif matches[6] == "6" then
		havesilverdragontooth = havesilverdragontooth + 32
	elseif matches[6] == "7" then
		havesilverdragontooth = havesilverdragontooth + 64
	end
end
if matches[9] == "silverdragonscale" then
	if matches[6] == "1" then
		havesilverdragonscale = havesilverdragonscale + 1
	elseif matches[6] == "2" then
		havesilverdragonscale = havesilverdragonscale + 2
	elseif matches[6] == "3" then
		havesilverdragonscale = havesilverdragonscale + 4
	elseif matches[6] == "4" then
		havesilverdragonscale = havesilverdragonscale + 8
	elseif matches[6] == "5" then
		havesilverdragonscale = havesilverdragonscale + 16
	elseif matches[6] == "6" then
		havesilverdragonscale = havesilverdragonscale + 32
	elseif matches[6] == "7" then
		havesilverdragonscale = havesilverdragonscale + 64
	end
end
if matches[9] == "silverdragonleather" then
	if matches[6] == "1" then
		havesilverdragonleather = havesilverdragonleather + 1
	elseif matches[6] == "2" then
		havesilverdragonleather = havesilverdragonleather + 2
	elseif matches[6] == "3" then
		havesilverdragonleather = havesilverdragonleather + 4
	elseif matches[6] == "4" then
		havesilverdragonleather = havesilverdragonleather + 8
	elseif matches[6] == "5" then
		havesilverdragonleather = havesilverdragonleather + 16
	elseif matches[6] == "6" then
		havesilverdragonleather = havesilverdragonleather + 32
	elseif matches[6] == "7" then
		havesilverdragonleather = havesilverdragonleather + 64
	end
end
if matches[9] == "silverdragonbone" then
	if matches[6] == "1" then
		havesilverdragonbone = havesilverdragonbone + 1
	elseif matches[6] == "2" then
		havesilverdragonbone = havesilverdragonbone + 2
	elseif matches[6] == "3" then
		havesilverdragonbone = havesilverdragonbone + 4
	elseif matches[6] == "4" then
		havesilverdragonbone = havesilverdragonbone + 8
	elseif matches[6] == "5" then
		havesilverdragonbone = havesilverdragonbone + 16
	elseif matches[6] == "6" then
		havesilverdragonbone = havesilverdragonbone + 32
	elseif matches[6] == "7" then
		havesilverdragonbone = havesilverdragonbone + 64
	end
end
if matches[9] == "silverdragoneye" then
	if matches[6] == "1" then
		havesilverdragoneye = havesilverdragoneye + 1
	elseif matches[6] == "2" then
		havesilverdragoneye = havesilverdragoneye + 2
	elseif matches[6] == "3" then
		havesilverdragoneye = havesilverdragoneye + 4
	elseif matches[6] == "4" then
		havesilverdragoneye = havesilverdragoneye + 8
	elseif matches[6] == "5" then
		havesilverdragoneye = havesilverdragoneye + 16
	elseif matches[6] == "6" then
		havesilverdragoneye = havesilverdragoneye + 32
	elseif matches[6] == "7" then
		havesilverdragoneye = havesilverdragoneye + 64
	end
end
if matches[9] == "silverdragonlarynx" then
	if matches[6] == "1" then
		havesilverdragonlarynx = havesilverdragonlarynx + 1
	elseif matches[6] == "2" then
		havesilverdragonlarynx = havesilverdragonlarynx + 2
	elseif matches[6] == "3" then
		havesilverdragonlarynx = havesilverdragonlarynx + 4
	elseif matches[6] == "4" then
		havesilverdragonlarynx = havesilverdragonlarynx + 8
	elseif matches[6] == "5" then
		havesilverdragonlarynx = havesilverdragonlarynx + 16
	elseif matches[6] == "6" then
		havesilverdragonlarynx = havesilverdragonlarynx + 32
	elseif matches[6] == "7" then
		havesilverdragonlarynx = havesilverdragonlarynx + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
-- Green Dragon
----------------------------------------------------------------------------------
if matches[9] == "greendragonclaw" then
	if matches[6] == "1" then
		havegreendragonclaw = havegreendragonclaw + 1
	elseif matches[6] == "2" then
		havegreendragonclaw = havegreendragonclaw + 2
	elseif matches[6] == "3" then
		havegreendragonclaw = havegreendragonclaw + 4
	elseif matches[6] == "4" then
		havegreendragonclaw = havegreendragonclaw + 8
	elseif matches[6] == "5" then
		havegreendragonclaw = havegreendragonclaw + 16
	elseif matches[6] == "6" then
		havegreendragonclaw = havegreendragonclaw + 32
	elseif matches[6] == "7" then
		havegreendragonclaw = havegreendragonclaw + 64
	end
end
if matches[9] == "greendragonheart" then
	if matches[6] == "1" then
		havegreendragonheart = havegreendragonheart + 1
	elseif matches[6] == "2" then
		havegreendragonheart = havegreendragonheart + 2
	elseif matches[6] == "3" then
		havegreendragonheart = havegreendragonheart + 4
	elseif matches[6] == "4" then
		havegreendragonheart = havegreendragonheart + 8
	elseif matches[6] == "5" then
		havegreendragonheart = havegreendragonheart + 16
	elseif matches[6] == "6" then
		havegreendragonheart = havegreendragonheart + 32
	elseif matches[6] == "7" then
		havegreendragonheart = havegreendragonheart + 64
	end
end
if matches[9] == "greendragontooth" then
	if matches[6] == "1" then
		havegreendragontooth = havegreendragontooth + 1
	elseif matches[6] == "2" then
		havegreendragontooth = havegreendragontooth + 2
	elseif matches[6] == "3" then
		havegreendragontooth = havegreendragontooth + 4
	elseif matches[6] == "4" then
		havegreendragontooth = havegreendragontooth + 8
	elseif matches[6] == "5" then
		havegreendragontooth = havegreendragontooth + 16
	elseif matches[6] == "6" then
		havegreendragontooth = havegreendragontooth + 32
	elseif matches[6] == "7" then
		havegreendragontooth = havegreendragontooth + 64
	end
end
if matches[9] == "greendragonscale" then
	if matches[6] == "1" then
		havegreendragonscale = havegreendragonscale + 1
	elseif matches[6] == "2" then
		havegreendragonscale = havegreendragonscale + 2
	elseif matches[6] == "3" then
		havegreendragonscale = havegreendragonscale + 4
	elseif matches[6] == "4" then
		havegreendragonscale = havegreendragonscale + 8
	elseif matches[6] == "5" then
		havegreendragonscale = havegreendragonscale + 16
	elseif matches[6] == "6" then
		havegreendragonscale = havegreendragonscale + 32
	elseif matches[6] == "7" then
		havegreendragonscale = havegreendragonscale + 64
	end
end
if matches[9] == "greendragonleather" then
	if matches[6] == "1" then
		havegreendragonleather = havegreendragonleather + 1
	elseif matches[6] == "2" then
		havegreendragonleather = havegreendragonleather + 2
	elseif matches[6] == "3" then
		havegreendragonleather = havegreendragonleather + 4
	elseif matches[6] == "4" then
		havegreendragonleather = havegreendragonleather + 8
	elseif matches[6] == "5" then
		havegreendragonleather = havegreendragonleather + 16
	elseif matches[6] == "6" then
		havegreendragonleather = havegreendragonleather + 32
	elseif matches[6] == "7" then
		havegreendragonleather = havegreendragonleather + 64
	end
end
if matches[9] == "greendragonbone" then
	if matches[6] == "1" then
		havegreendragonbone = havegreendragonbone + 1
	elseif matches[6] == "2" then
		havegreendragonbone = havegreendragonbone + 2
	elseif matches[6] == "3" then
		havegreendragonbone = havegreendragonbone + 4
	elseif matches[6] == "4" then
		havegreendragonbone = havegreendragonbone + 8
	elseif matches[6] == "5" then
		havegreendragonbone = havegreendragonbone + 16
	elseif matches[6] == "6" then
		havegreendragonbone = havegreendragonbone + 32
	elseif matches[6] == "7" then
		havegreendragonbone = havegreendragonbone + 64
	end
end
if matches[9] == "greendragoneye" then
	if matches[6] == "1" then
		havegreendragoneye = havegreendragoneye + 1
	elseif matches[6] == "2" then
		havegreendragoneye = havegreendragoneye + 2
	elseif matches[6] == "3" then
		havegreendragoneye = havegreendragoneye + 4
	elseif matches[6] == "4" then
		havegreendragoneye = havegreendragoneye + 8
	elseif matches[6] == "5" then
		havegreendragoneye = havegreendragoneye + 16
	elseif matches[6] == "6" then
		havegreendragoneye = havegreendragoneye + 32
	elseif matches[6] == "7" then
		havegreendragoneye = havegreendragoneye + 64
	end
end
if matches[9] == "greendragonsac" then
	if matches[6] == "1" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 1
	elseif matches[6] == "2" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 2
	elseif matches[6] == "3" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 4
	elseif matches[6] == "4" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 8
	elseif matches[6] == "5" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 16
	elseif matches[6] == "6" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 32
	elseif matches[6] == "7" then
		havegreendragonpoisonsac = havegreendragonpoisonsac + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
-- Red Dragon
----------------------------------------------------------------------------------
if matches[9] == "reddragonclaw" then
	if matches[6] == "1" then
		havereddragonclaw = havereddragonclaw + 1
	elseif matches[6] == "2" then
		havereddragonclaw = havereddragonclaw + 2
	elseif matches[6] == "3" then
		havereddragonclaw = havereddragonclaw + 4
	elseif matches[6] == "4" then
		havereddragonclaw = havereddragonclaw + 8
	elseif matches[6] == "5" then
		havereddragonclaw = havereddragonclaw + 16
	elseif matches[6] == "6" then
		havereddragonclaw = havereddragonclaw + 32
	elseif matches[6] == "7" then
		havereddragonclaw = havereddragonclaw + 64
	end
end
if matches[9] == "reddragonheart" then
	if matches[6] == "1" then
		havereddragonheart = havereddragonheart + 1
	elseif matches[6] == "2" then
		havereddragonheart = havereddragonheart + 2
	elseif matches[6] == "3" then
		havereddragonheart = havereddragonheart + 4
	elseif matches[6] == "4" then
		havereddragonheart = havereddragonheart + 8
	elseif matches[6] == "5" then
		havereddragonheart = havereddragonheart + 16
	elseif matches[6] == "6" then
		havereddragonheart = havereddragonheart + 32
	elseif matches[6] == "7" then
		havereddragonheart = havereddragonheart + 64
	end
end
if matches[9] == "reddragontooth" then
	if matches[6] == "1" then
		havereddragontooth = havereddragontooth + 1
	elseif matches[6] == "2" then
		havereddragontooth = havereddragontooth + 2
	elseif matches[6] == "3" then
		havereddragontooth = havereddragontooth + 4
	elseif matches[6] == "4" then
		havereddragontooth = havereddragontooth + 8
	elseif matches[6] == "5" then
		havereddragontooth = havereddragontooth + 16
	elseif matches[6] == "6" then
		havereddragontooth = havereddragontooth + 32
	elseif matches[6] == "7" then
		havereddragontooth = havereddragontooth + 64
	end
end
if matches[9] == "reddragonscale" then
	if matches[6] == "1" then
		havereddragonscale = havereddragonscale + 1
	elseif matches[6] == "2" then
		havereddragonscale = havereddragonscale + 2
	elseif matches[6] == "3" then
		havereddragonscale = havereddragonscale + 4
	elseif matches[6] == "4" then
		havereddragonscale = havereddragonscale + 8
	elseif matches[6] == "5" then
		havereddragonscale = havereddragonscale + 16
	elseif matches[6] == "6" then
		havereddragonscale = havereddragonscale + 32
	elseif matches[6] == "7" then
		havereddragonscale = havereddragonscale + 64
	end
end
if matches[9] == "reddragonleather" then
	if matches[6] == "1" then
		havereddragonleather = havereddragonleather + 1
	elseif matches[6] == "2" then
		havereddragonleather = havereddragonleather + 2
	elseif matches[6] == "3" then
		havereddragonleather = havereddragonleather + 4
	elseif matches[6] == "4" then
		havereddragonleather = havereddragonleather + 8
	elseif matches[6] == "5" then
		havereddragonleather = havereddragonleather + 16
	elseif matches[6] == "6" then
		havereddragonleather = havereddragonleather + 32
	elseif matches[6] == "7" then
		havereddragonleather = havereddragonleather + 64
	end
end
if matches[9] == "reddragonbone" then
	if matches[6] == "1" then
		havereddragonbone = havereddragonbone + 1
	elseif matches[6] == "2" then
		havereddragonbone = havereddragonbone + 2
	elseif matches[6] == "3" then
		havereddragonbone = havereddragonbone + 4
	elseif matches[6] == "4" then
		havereddragonbone = havereddragonbone + 8
	elseif matches[6] == "5" then
		havereddragonbone = havereddragonbone + 16
	elseif matches[6] == "6" then
		havereddragonbone = havereddragonbone + 32
	elseif matches[6] == "7" then
		havereddragonbone = havereddragonbone + 64
	end
end
if matches[9] == "reddragoneye" then
	if matches[6] == "1" then
		havereddragoneye = havereddragoneye + 1
	elseif matches[6] == "2" then
		havereddragoneye = havereddragoneye + 2
	elseif matches[6] == "3" then
		havereddragoneye = havereddragoneye + 4
	elseif matches[6] == "4" then
		havereddragoneye = havereddragoneye + 8
	elseif matches[6] == "5" then
		havereddragoneye = havereddragoneye + 16
	elseif matches[6] == "6" then
		havereddragoneye = havereddragoneye + 32
	elseif matches[6] == "7" then
		havereddragoneye = havereddragoneye + 64
	end
end
if matches[9] == "reddragonbelly" then
	if matches[6] == "1" then
		havereddragonbelly = havereddragonbelly + 1
	elseif matches[6] == "2" then
		havereddragonbelly = havereddragonbelly + 2
	elseif matches[6] == "3" then
		havereddragonbelly = havereddragonbelly + 4
	elseif matches[6] == "4" then
		havereddragonbelly = havereddragonbelly + 8
	elseif matches[6] == "5" then
		havereddragonbelly = havereddragonbelly + 16
	elseif matches[6] == "6" then
		havereddragonbelly = havereddragonbelly + 32
	elseif matches[6] == "7" then
		havereddragonbelly = havereddragonbelly + 64
	end
end
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------