quest event_tool begin state start begin when 82116.use with pc.is_gm() begin say_title("Evento") say("Bienvenido que kieres Hacer!! ") local s = select("Evento de metines", "Evento de jefes!", "OX", "nada") if s==4 then setskin(NOWINDOW) return elseif s==3 then if oxevent.get_status()==0 then local v = oxevent.open() if v == 0 then setskin(NOWINDOW) chat("No se pudo abrir oxquiz.lua ") chat("comprueba los archivos!.") return elseif v == 1 then setskin(NOWINDOW) notice_all("OX Inicio") command("go ox") else setskin(NOWINDOW) chat("Error de Evento Ox") return end else setskin(NOWINDOW) chat("Evento Ox comenzo!") return end elseif s==2 then regen_in_map("401", "locale/spain/map/metin2_map_capedragonhead/metin_event1.txt") chat("Evento de Jefes Y mobs comenzo!") setskin(NOWINDOW) notice_all("Evento de jefes a Comenzado!") elseif s==1 then regen_in_map("401", "locale/spain/map/metin2_map_capedragonhead/metin_event.txt") chat("Evento de Metines Comenzo") setskin(NOWINDOW) notice_all("El Evento de jefes Y metines A comensado dirigirse a los mapas!") end end end end