For example:
[lua]
local num=1
local function doit()
num=num+1
end
if time==“00:20” then
doit()
end
[/lua]
Problem is that it will keep on repeating even when the time is at 20 seconds, since a function takes less than a sec to happen.
How can I modify the if statement to make it do the function only once?
