29.10.2011, 13:02
Use a variable that updates every time OPU is called. Check to see if that variable has reached (i.e.) 20, this means OPU has been called 20 times. If it has, then reset the variable and perform what you wanted to. This process will keep happening, in an attempt to stop most lag.