Ganz am Ende ein end zu wenig ;)
PHP Code:
quest warp begin
state start begin
when letter with pc.get_level()>=60 begin
send_letter("Teleportieren Neu")
end
when button or info begin
say_title("Teleportieren")
if pc.is_mount() then
say("Geht net wegen Gaul!")
wait()
send_letter("Teleportieren Neu")
return
end
say("Wohin willst du dich Teleportieren?")
local s = select("Level 1 - 80 Maps", "Level 80 - 125 Maps", "Metin Maps", "Andere", "Abbrechen")
if s==5 then
send_letter("Teleportieren Neu")
return
elseif s==1 then
local t = select("Map 1", "Map 2", "SD2", "Roter Wald", "Abbrechen")
if t==1 then
local empire = pc.get_empire()
if empire == 1 then
pc.warp (469300 , 964200)
elseif empire == 2 then
pc.warp (55700, 157900)
elseif empire == 3 then
pc.warp (969600, 278400)
end
elseif t==2 then
local empire = pc.get_empire()
if empire == 1 then
pc.warp (353100, 882900)
elseif empire == 2 then
pc.warp (145500, 240000)
elseif empire == 3 then
pc.warp (863900, 246000)
end
elseif t==3 then
pc.warp(703966, 463164)
elseif t==4 then
pc.warp(1049600, 0)
elseif t==5 then
send_letter("Teleportieren Neu")
return
end
elseif s==2 then
local m = select("Tal der Verfluchten", "Land der Gnome", "SD3", "Zombieland", "Abbrechen")
if m==1 then
pc.warp(605461, 1124886)
elseif m==2 then
pc.warp(134370, 1068854)
elseif m==3 then
pc.warp(123495184, 123484277)
elseif m==4 then
pc.warp(679772, 1192150)
elseif m==5 then
send_letter("Teleportieren Neu")
return
end
elseif s==3 then
local n = select("Metin Map (Low)", "Friedhof", "Abbrechen")
if n==1
pc.warp(591207, 590905)
elseif n==2
pc.warp(25309182, 25337133)
elseif n==3
send_letter("Teleportieren Neu")
return
end
elseif s==4 then
local r = select("Handelsmap", "Abbrechen")
if r==1 then
pc.warp(912384594, 91246594)
elseif r==2
send_letter("Teleportieren Neu")
return
end
end
end
end
end