bz.Print(Script.GetName() .. ': installed update test') local rate = 2 local count = 0 local timer = bz.GetTimer() local function Update() local newTimer = bz.GetTimer() if (bz.DiffTimers(newTimer, timer) >= rate) then timer = newTimer count = count + 1 bz.Print(Script.GetName() .. ' update ' .. count) end end Script.SetCallIn('Update', Update)