quest fwfqff begin
state start begin
when 30121.chat."دخول الموقع" with pc.getqf("eqdd") == 0 begin
say(" اهلا وسهلا انت اول من اتى الي للدخول لاتنسى لديك 60 دقيقه اكتب الرمز الذي تريده ")
local pass = tonumber(input())
if type(pass) != 'number' then
say(" يمنع استعمال غير الارقام ")
end
if type(pass) == 'number' then
pc.setqf("qfa", 1)
pc.setqf("as", pass)
pc.setqf("eqdd", pc.get_name())
say(" تم حفظ كلمة مرورك سيتم نقلك الان ")
timer("taem1", 60*60*15)
pc.warp(1336, 194)
say(" لديك 60 دقيقة قبل الانتهاء ")
if type(pass) == 'number' and pc.getqf("eqdd") == 1 then
say(" للأسف يوجد مجموعة سبقتك في الدخول يرجى الانتظار ")
end
end
end
when team1.timer with pc.get_map_index() == 61 begin
timer("taem2", 60*60*15)
syschat(" لقد تبقى 45 دقيقة")
end
when team2.timer with pc.get_map_index() == 61 begin
timer("taem3", 60*60*15)
syschat("لقد تبقى 30 دقيقة")
end
when team3.timer with pc.get_map_index() == 61 begin
timer("taem_end", 60*60*15)
syschat("لقد تبقى 15 دقيقة فقط")
end
when taem_end.timer with pc.get_map_index() == 43 begin
syschat("للأسف انتهى الوقت الى اللقاء")
pc.warp(381, 653)
end
end
end
quest fwfqffw begin
state start begin
when 30121.chat."دخول الموقع" with pc.getqf("eqdd") == 1 begin
say(" لقد سبقتك مجموعة اخرى لكن يمكنك الدخول اذا كنت تملك كلمة السر ")
local pass = tonumber(input())
if type(pass) != 'number' then
say(" يمنع استعمال غير الارقام ")
end
if pass == pc.getqf("as") then
say(" كلمة المرور : صح ")
pc.setqf("eqdd", 0)
pc.warp(1336, 194)
else
say(" للأسف كلمة السر خطأ")
end
end
end
end