PDA

View Full Version : Progress Report Every Certain Number Of Kills



Gilbert
10-29-2006, 02:34 PM
I recently made an automager (only been scripting 2 days), and I'm trying to figure out how to make it give a progress report every 10 mins or 10 kills or something. I already have the procedure with the report, I just want to know how to run it every 10 mins or w/e.

Thanks,
Gilbert:duh:

Boreas
10-29-2006, 04:52 PM
loads:=loads+1;
if ((loads mod prog) = 0) then proggy;


loads is kills
prog is how often you want a report in loads
proggy is the progress report procedure

mod gives a left over from dividing. So if loads is 21 and prog is 10 it would give 1. So when loads is divisible by prog, it will give 0. So this does proggy when ever loads is divisible by prog.

Gilbert
10-29-2006, 08:08 PM
Thanks