quest anti_afk begin
state start begin
function scrivi(var)
chat(locale.ROSSO_COLOR.. var)
end
when 50200.use begin
pc.setqf("lock", 0)
end
when login begin
if pc.getqf("sonouscito") == 1 then
anti_afk.scrivi("Ai fost deconectat pentru ca ai fost absent mai mult de 30 minute!")
pc.setqf("sonouscito", 0)
end
pc.setqf("adessox", pc.get_local_x())
pc.setqf("adessoy", pc.get_local_y())
timer("timee", 60*30)
end
when timee.timer with pc.get_map_index() ~= 1 and pc.get_map_index() ~= 3 and pc.get_map_index() ~= 21 and pc.get_map_index() ~= 41 and pc.get_map_index() ~= 43 and pc.get_map_index() ~= 78 and pc.get_map_index() ~= 78 and pc.get_map_index() ~= 113 and pc.get_map_index() ~= 193 begin
if pc.getqf("adessox") == pc.get_local_x() and pc.getqf("adessoy") == pc.get_local_y() and pc.getqf("lock") == 1 then
command("logout")
say("Utilizator absent de 30 de minute, deconectare automata.")
pc.setqf("sonouscito", 1)
say(delay(10000) .. " .")
return
else
pc.setqf("adessox", pc.get_local_x())
pc.setqf("adessoy", pc.get_local_y())
timer("timee", 60*30)   
end
end
end"
SAU

Instalare:

1. Creezi un fişier text cu numele nume_quest.quest.

2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).

3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.

4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest

5. Intraţi pe server şi scrieţi /reload q .