quest teleport begin
state start begin
when login begin
cmdchat("teleporter_index "..q.getcurrentquestindex())
end
when button or info begin
say_title("Teleportation Ring:")
say("Choose a place to go.")
say("")
local s = select("Kingdoms","Forests","Spider Caves","Sürgün Maðarasý","Other Places","Close")
if s == 1 then
say_title("Teleportation Ring:")
local k = select("Jinno","Chunjo","Shinsoo","Cancel")
if k == 1 then
say_title("Teleportation Ring:")
say("Jinno Kingdom selected.")
say("")
say("Choose a village to go.")
say("")
say("")
local j = select("Pyungmoo","Bakra","Cancel")
if j == 1 then
pc.warp(959800,268400)
elseif j == 1 then
pc.warp(873100,242600)
end
elseif k == 2 then
say_title("Teleportation Ring:")
say("Chunjo Kingdom selected.")
say("")
say("Choose a village to go.")
say("")
say("")
local c = select("Joan","Bokjung","Cancel")
if c == 1 then
pc.warp(63800,166400)
elseif c == 2 then
pc.warp(138500,234900)
end
elseif k == 3 then
say_title("Teleportation Ring:")
say("Shinsoo Kingdom selected.")
say("")
say("Choose a village to go.")
say("")
say("")
local sh = select("Yongan","Yayang","Cancel")
if sh == 1 then
pc.warp(474300,954800)
elseif sh == 2 then
pc.warp(360800,877600)
end
end
elseif s == 2 then
say_title("Teleportation Ring:")
local sss = select("Ghost Forest","Red Wood","Cancel")
if sss == 1 then
pc.warp(288700,5700)
elseif sss == 2 then
pc.warp(1119900,70800)
elseif sss == 3 then
return
end
elseif s == 3 then
say_title("Teleportation Ring:")
local zindan = select("Örümcek Zindaný 1. Kat Baþý ","Örümcek Zindaný 2. Kat Sonu","Vazgeç ")
if zindan == 1 then
pc.warp(59800,497300)
elseif zindan == 2 then
pc.warp(704100,521900)
elseif zindan == 3 then
return
end
elseif s == 4 then
say_title("Teleportation Ring:")
say("Sürgün Maðarasý giriþine ýþýnlanýyorsun...")
wait()
pc.warp(284400,810700)
elseif s == 5 then
say_title("Teleportation Ring:")
local sssssss = select("Seungryong Vadisi","Sohan Daðý ","Yongbi Çölü ","Doyyumhwan","Devler Diyarý ","Þeytan Kulesi","Þeytan Mezarlýðý ","Kýrmýzý Ejderha Kalesi ","Nemere'nin Gözetleme Kulesi ","Vazgeç ")
if sssssss == 1 then
pc.warp(336000,755600)
elseif sssssss == 2 then
pc.warp(436400,215600)
elseif sssssss == 3 then
pc.warp(296800,547400)
elseif sssssss == 4 then
pc.warp(600800,687400)
elseif sssssss == 5 then
pc.warp(829900,763300)
elseif sssssss == 6 then
pc.warp(590500,110500)
elseif sssssss == 7 then
pc.warp(591100,99300)
elseif sssssss == 8 then
pc.warp(614739,706929)
elseif sssssss == 9 then
pc.warp(432792,165998)
elseif sssssss == 10 then
return
end
end
end
end
end
This should work. However, the variables are very ugly and i don't like warpquests with snake codes (like this).