quest barren begin
state start begin

when 80007.use begin
if pc.count_item(80007) and pc.get_gold()<=999999999 then
notice("Ai deschis lingoul si ai primit 1.000.000.000 yang !")
pc.change_money(999999999)
pc.remove_item(80007)

elseif pc.get_gold()>=999999999 then
notice("Nu poti deschide lingoul pentru ca ai prea mult yang in inventar !")
end

if pc.count_item(80007)==0 then
return
end

end

when 80005.use begin
if pc.count_item(80005) and pc.get_gold()<=1899999999 then
pc.change_money(100000000)
pc.remove_item(80005)
notice("Ai deschis lingoul si ai primit 100.000.000 yang !")

elseif pc.get_gold()>=1899999999 then
notice("Nu poti deschide lingoul pentru ca ai prea mult yang in inventar !")
end

if pc.count_item(80005)==0 then
return
end

end

when 80004.use begin
if pc.count_item(80004) and pc.get_gold()<=1949999999 then
pc.change_money(50000000)
pc.remove_item(80004)
notice("Ai deschis lingoul si ai primit 50.000.000 yang !")

elseif pc.get_gold()>=1949999999 then
notice("Nu poti deschide lingoul pentru ca ai prea mult yang in inventar !")
end

if pc.count_item(80004)==0 then
return
end

end

when 80006.use begin
if pc.count_item(80006) and pc.get_gold()<=1499999999 then
pc.change_money(500000000)
pc.remove_item(80006)
notice("Ai deschis lingoul si ai primit 500.000.000 yang !")

elseif pc.get_gold()>=1499999999 then
notice("Nu poti deschide lingoul pentru ca ai prea mult yang in inventar !")
end

if pc.count_item(80006)==0 then
return
end

end
when 80003.use begin
if pc.count_item(80003) and pc.get_gold()<=1989999999 then
pc.change_money(10000000)
pc.remove_item(80003)
notice("Ai deschis lingoul si ai primit 10.000.000 yang !")

elseif pc.get_gold()>=1989999999 then
notice("Nu poti deschide lingoul pentru ca ai prea mult yang in inventar !")
end

if pc.count_item(80003)==0 then
return
end

end
end
end


Tutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu rasplata.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 rasplata.quest
5. Intraţi pe server şi scrieţi /reload q .
6. Testaţi quest-ul .