Jump to content

[Peticiòn]2 Quest


Riochu™ no es

Mensajes recomendados

Hola chicos , alguien me hace 2 quest

 

1ª .

 

Una quest que cuando suva al lv 250 que diga felicidades has llegado al nivel maximo y todo eso .

 

 

2ª.

 

Una quest como si fuera una mision pero esa mision que este siempre en que consiste ?

 

Que con la quest vean los "GM" que esta on y los que estan off .

Enlace para comentar
Compartir en otros sitios

 

quest a begin

state start begin

when levelup with pc.get_level()== 255 begin

notice_all("felicidades "..pc.get_name().." has subido al nivel 255")

end 

end

end

Enlace para comentar
Compartir en otros sitios

 

quest panel beginstate start beginwhen login beginset_state(information)endendstate information beginwhen letter beginsend_letter("Lista GM Online")endwhen button or info beginsay_title("".. pc.get_name() ..", Bienvenido a la lista de GM's Online!")say("")local s=select("Lista GM Online", "Salir")if s==1 thensay("Nombre Estado")say("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")if game.get_event_flag("[sA]Kay331")== 1 thensay_reward("[sA]Kay331 online")elsesay("[sA]Kay331 offline")endif game.get_event_flag("[GA]Glupschi")== 1 thensay_reward("[GA]Glupschi online")elsesay("[GA]Glupschi offline")endif game.get_event_flag("[TGM]Deluxe")== 1 thensay_reward("[TGM]Deluxe online")elsesay("[TGM]Deluxe offline")endif game.get_event_flag("[bA]Ghawar")== 1 thensay_reward("[bA]Ghawar online")elsesay("[bA]Ghawar offline")endif game.get_event_flag("[GA]Jeon")== 1 thensay_reward("[GA]Jeon online")elsesay("[GA]Jeon offline")endsay("SA= Kay331")say("GA= Glupschi, Jeon")say("TGM= Deluxe")say("BA= Ghawar")say("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")elseif s==2 thenendendendend

 

 

quest onlinequest_login beginstate start beginwhen login with pc.is_gm() beginlocal name = pc.get_name()game.set_event_flag(name, 1)setskin(NOWINDOW)endwhen logout with pc.is_gm() beginlocal name = pc.get_name()game.set_event_flag(name, 0)setskin(NOWINDOW)endendend

 

 

Van las dos juntas xD

Enlace para comentar
Compartir en otros sitios

quest gm_list begin	state start begin		when letter begin			send_letter("GM Quest")		end		when button or info begin			local GM_LIST = {				"GM1",				"GM2",				"GM3",				"GM4"			}			for i = 1, table.getn(GM_LIST) do				if game.get_event_flag(GM_LIST[i]) == 1 then					say("GM " .. GM_LIST[i] .. " is Online")				else					say("GM " .. GM_LIST[i] .. " is Offline")				end			end		end		when login with pc.is_gm() begin			game.set_event_flag(pc.get_name(), 1)		end		when logout with pc.is_gm() begin			game.set_event_flag(pc.get_name(), 0)		end	endend
Enlace para comentar
Compartir en otros sitios

Aqui tienes las dos quest, la de Gm's es totalmente automática, sin necesidad de configurar a cada Gm.

	    -------------------    --Quest Varias--    --Por Pepineitor---    -------------------    quest varias begin            state start begin                    when levelup with pc.get_level() == 250 begin                        notice_all(pc.get_name().." ha alcanzado el nivel 250.")                    end                    when 20092.click begin                                    local gm=mysql_query("select name from player.player WHERE name like '[%'and DATE_SUB(NOW(), INTERVAL 6 MINUTE) < last_play;")                                    local online=mysql_query("SELECT COUNT(*) as count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 6 MINUTE) < last_play and name like '[%';")                                    chat("Miembros del Equipo conectados en los ultimos 5 minutos: "..online.count[1])                                    table.foreachi(gm,function(i,g)                                    chat(g[1])                                    end)                    end            end    end
Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...