Add this with all of the main variables, 1 is on and 0 is off.
Add this at the bottom where all the other functions are
Code:
Func RandomSleep() ;12.5% Chance to randomly sleep
$LuckyNumber = Random(1,40)
If $LuckyNumber >= 1 And $LuckyNumber <= 5 Then
Sleep(Random(1500 * $LuckyNumber, 3000 * $LuckyNumber)
EndFunc
Hit CTRL+F and look for "GUICtrlSetData($lblRun, "Run Number: " & $run & " - Runs Per Hour: " & Round($RunsPerHour))"
Add this above that line you found
Code:
If $RandomSleep = 1 Then Call("RandomSleep)