fixed timer parameter to use quote for string.

This commit is contained in:
regneq 2025-10-07 20:39:14 -07:00
parent f43d4fcfa8
commit b2b5497c0a
2 changed files with 8 additions and 5 deletions

View file

@ -1,10 +1,12 @@
function event_spawn(e)
eq.set_timer(1,1200000);
eq.set_timer("depop",1200000);
e.self:SetRunning(true);
end
function event_timer(e)
eq.depop();
if(e.timer == "depop") then
eq.depop();
end
end
function event_combat(e)

View file

@ -1,12 +1,13 @@
function event_spawn(e)
eq.set_timer(1,1200000);
eq.set_timer("depop",1200000);
e.self:SetRunning(true);
end
function event_timer(e)
eq.depop();
if(e.timer == "depop") then
eq.depop();
end
end
function event_combat(e)
if(e.joined == true) then
e.self:Say("The time fer talk is over. Raise yer guard!!");