The quest before editing:
PHP Code:
quest binek_sistemi begin
state start begin
when 20349.chat."Change the certificate with a mount" with pc.count_item("52701") >0 or pc.count_item("52702") >0 or pc.count_item("52703") >0 or pc.count_item("52704") >0 or pc.count_item("52705") >0 or pc.count_item("52706") >0 or pc.count_item("52707") >0 begin
local delay = 1892160000
---if get_global_time() - pc.getqf("time") < delay and pc.getqf("time") != 0 and not pc.is_gm() then
---say_title("info:")
---say("At the moment you alredy have a mount!")
---say("Come back in seven days and I'll give")
---say("you a new one!")
---say("TEXT.")
---else
say_title("Info:")
say("I see you have a certificate for a mount")
say("Text")
say("Text")
say("Text")
wait()
--if pc.count_item(52701) == 0 and pc.count_item(52701) == 0 and pc.count_item(52702) == 0 and pc.count_item(52703) == 0 and pc.count_item(52704) == 0 and pc.count_item(52705) == 0 and pc.count_item(52706) == 0and pc.count_item(52707) == 0 then
--say_title("Info:")
--say("Üzgünüm, hiç sertifikan yok.")
--return
--end
say_title("Info:")
say("Select the certificate you want to change.")
local aaa = select("Lion ","Tiger","Wild Boar","Wolf","Reeinder(m)","Reeinder(f)","Dragor","I do not want to change.")
if aaa == 1 then
if pc.count_item(52701) >0 then
say_title("Info:")
say("Choose what bonus you want for your mount.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52701",1)
pc.give_item2("52031",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52701",1)
pc.give_item2("52032",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52701",1)
pc.give_item2("52033",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52701",1)
pc.give_item2("52034",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52701",1)
pc.give_item2("52035",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 2 then
if pc.count_item(52702) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52702",1)
pc.give_item2("52046",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52702",1)
pc.give_item2("52047",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52702",1)
pc.give_item2("52048",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52702",1)
pc.give_item2("52049",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52702",1)
pc.give_item2("52050",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 3 then
if pc.count_item(52703) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52703",1)
pc.give_item2("52001",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52703",1)
pc.give_item2("52002",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52703",1)
pc.give_item2("52003",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52703",1)
pc.give_item2("52004",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52703",1)
pc.give_item2("52005",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 4 then
if pc.count_item(52704) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52704",1)
pc.give_item2("52016",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52704",1)
pc.give_item2("52017",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52704",1)
pc.give_item2("52018",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52704",1)
pc.give_item2("52019",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52704",1)
pc.give_item2("52020",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 5 then
if pc.count_item(52705) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52705",1)
pc.give_item2("52061",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52705",1)
pc.give_item2("52062",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52705",1)
pc.give_item2("52063",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52705",1)
pc.give_item2("52064",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52705",1)
pc.give_item2("52065",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 6 then
if pc.count_item(52706) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52706",1)
pc.give_item2("52076",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52706",1)
pc.give_item2("52077",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52706",1)
pc.give_item2("52078",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52706",1)
pc.give_item2("52079",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52706",1)
pc.give_item2("52080",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Are you sure?")
say("")
end
end
if aaa == 7 then
if pc.count_item(52707) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Defence","Attack","Thanks!")
if s == 1 then
if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52707",1)
pc.give_item2("52091",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52707",1)
pc.give_item2("52092",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52707",1)
pc.give_item2("52093",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52707",1)
pc.give_item2("52094",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
say_title("Info:")
say("You already have this bonus.")
say("Select a new one!.")
else
pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52707",1)
pc.give_item2("52095",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
end
end
end
The quest after editing:
PHP Code:
quest binek_sistemi begin
state start begin
when 20349.chat."Change the certificate with a mount" with pc.count_item("52701") >0 or pc.count_item("52702") >0 or pc.count_item("52703") >0 or pc.count_item("52704") >0 or pc.count_item("52705") >0 or pc.count_item("52706") >0 or pc.count_item("52707") >0 begin
---local delay = 1892160000
---if get_global_time() - pc.getqf("time") < delay and pc.getqf("time") != 0 and not pc.is_gm() then
---say_title("info:")
---say("At the moment you alredy have a mount!")
---say("Come back in seven days and I'll give")
---say("you a new one!")
---say("TEXT.")
---else
say_title("Info:")
say("I see you have a certificate for a mount")
say("Text")
say("Text")
say("Text")
wait()
--if pc.count_item(52701) == 0 and pc.count_item(52701) == 0 and pc.count_item(52702) == 0 and pc.count_item(52703) == 0 and pc.count_item(52704) == 0 and pc.count_item(52705) == 0 and pc.count_item(52706) == 0and pc.count_item(52707) == 0 then
--say_title("Info:")
--say("Üzgünüm, hiç sertifikan yok.")
--return
--end
say_title("Info:")
say("Select the certificate you want to change.")
local aaa = select("Lion ","Tiger","Wild Boar","Wolf","Reeinder(m)","Reeinder(f)","Dragor","I do not want to change.")
if aaa == 1 then
if pc.count_item(52701) >0 then
say_title("Info:")
say("Choose what bonus you want for your mount.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52701",1)
pc.give_item2("52031",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52701",1)
pc.give_item2("52032",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52701",1)
pc.give_item2("52033",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52701",1)
pc.give_item2("52034",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52701",1)
pc.give_item2("52035",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 2 then
if pc.count_item(52702) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52702",1)
pc.give_item2("52046",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52702",1)
pc.give_item2("52047",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52702",1)
pc.give_item2("52048",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52702",1)
pc.give_item2("52049",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52702",1)
pc.give_item2("52050",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 3 then
if pc.count_item(52703) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52703",1)
pc.give_item2("52001",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52703",1)
pc.give_item2("52002",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52703",1)
pc.give_item2("52003",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52703",1)
pc.give_item2("52004",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52703",1)
pc.give_item2("52005",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 4 then
if pc.count_item(52704) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52704",1)
pc.give_item2("52016",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52704",1)
pc.give_item2("52017",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52704",1)
pc.give_item2("52018",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52704",1)
pc.give_item2("52019",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52704",1)
pc.give_item2("52020",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 5 then
if pc.count_item(52705) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52705",1)
pc.give_item2("52061",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52705",1)
pc.give_item2("52062",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52705",1)
pc.give_item2("52063",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52705",1)
pc.give_item2("52064",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52705",1)
pc.give_item2("52065",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
if aaa == 6 then
if pc.count_item(52706) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Deffence","Attack","Thanks")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52706",1)
pc.give_item2("52076",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52706",1)
pc.give_item2("52077",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52706",1)
pc.give_item2("52078",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52706",1)
pc.give_item2("52079",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52706",1)
pc.give_item2("52080",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Are you sure?")
say("")
end
end
if aaa == 7 then
if pc.count_item(52707) >0 then
say_title("Info:")
say("Now select a bonus.")
local s = select ("Strenght against monsters","(EXP)","(HP)","Defence","Attack","Thanks!")
if s == 1 then
---if get_global_time() - pc.getqf("timecanavar") < delay and pc.getqf("timecanavar") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timecanavar",get_global_time()) ---canavar---
pc.remove_item("52707",1)
pc.give_item2("52091",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 2 then
---if get_global_time() - pc.getqf("timeexp") < delay and pc.getqf("timeexp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timeexp",get_global_time()) -----exp---
pc.remove_item("52707",1)
pc.give_item2("52092",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 3 then
---if get_global_time() - pc.getqf("timehp") < delay and pc.getqf("timehp") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timehp",get_global_time()) ------hp---
pc.remove_item("52707",1)
pc.give_item2("52093",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 4 then
---if get_global_time() - pc.getqf("timesav") < delay and pc.getqf("timesav") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesav",get_global_time()) ------savunma----
pc.remove_item("52707",1)
pc.give_item2("52094",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 5 then
---if get_global_time() - pc.getqf("timesd") < delay and pc.getqf("timesd") != 0 and not pc.is_gm() then
---say_title("Info:")
---say("You already have this bonus.")
---say("Select a new one!.")
---else
---pc.setqf("timesd",get_global_time()) ---------saldırı---
pc.remove_item("52707",1)
pc.give_item2("52095",1)
say_title("Info:")
say("Good choice ! Take care !")
end
elseif s == 6 then
return
end
else
say_title("Info:")
say("Bu sertifikaya sahip olduğundan")
say("emin misin?")
end
end
end
end
end
PHP Code:
binek_gelistir.quest:78:syntax error : [string "startpc . count_item ( "52701" ) > 0 or pc . count_item ( "5270..."]:33: <eof> expected near `elseif'
Abort (core dumped)