Think it would be more intuitive (and usefull) if AdlibUnRegister() would completely reset things. Ergo: This code would than actually be counting from the new AdlibRegister() timepoint. Instead of (kinda) behaving like there was no AdlibUnRegister() call at all. #AutoIt3Wrapper_AU3Check_Stop_OnWarning=y #AutoIt3Wrapper_AU3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 Global Const $iRatio = 100 ;; 1000 Global Const $sAdlib = 'AdlibFunc' Global $iTimer = 0 $iTimer = TimerInit() A