17.07.2023, 07:56
It would be better to do it differently. Instead of making your own timer just use object update time and compare it with os.time to see how long the object was not updated.
Code:
myobject = grp.find('1/1/1')
log(myobject.updatetime)
------------------------------
Ctrl+F5
Ctrl+F5