Cod: Selectaţi tot
quest afk_tas begin
state start begin
when 40004.use begin
say_title("System AFK ")
say_rosu("Administrator ".. pc.get_name() .." ")
say_galben("Acest inel are functia de a te transforma intr-un steag care semnifica")
say_galben("ca esti AFK , tot in acelasi timp tu nu mai poti fi omorat.")
say_galben("De catre un player sau monstru.")
local s = select("AFK ON","Normal","Nu,nu vreau...")
if s == 1 then
if pc.is_polymorphed() then
syschat(""..pc.get_name().." - Afk ON.")
return
end
if pc.get_empire() == 1 then
pc.polymorph(20035,100000)
elseif pc.get_empire() == 2 then
pc.polymorph(20037,100000)
elseif pc.get_empire() == 3 then
pc.polymorph(20036,100000)
end
syschat(""..pc.get_name().." - Afk OFF")
end
if s == 2 then
pc.remove_polymorph()
syschat(""..pc.get_name().." - Pe curand.")
end
end
end
end
Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
Îl puneţi acolo (să fie .quest sau .lua).
Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest (depinde ce server aveţi) apoi ./qc nume_quest.quest/.lua
Intraţi pe server şi scrieţi /reload q
Testaţi quest-ul.