Code:
quest newmap begin state start begin when login begin if pc.get_map_index() == 999 then pc.set_warp_location(999, 9999, 9999) end end when 20095.chat."New Map" begin say(""..mob_name(20095)..":")say("") say_reward("Would you like to be teleported?") local s = select("Yes", "No") if s == 1 then say(""..mob_name(20095)..":") say_reward("I will teleport you now") wait() pc.warp(512300, 512300) else return end end end end