Use OnUpdate. arg1 for OnUpdate is how much time has elapsed since the last OnUpdate, so just set up a variable to hold a time, then check if the difference between "last checked time" and the elapsed time is greater than or equal to, in your case, one second. If it is, run your check on var1 and updated the "last checked time" variable.
|