Help with proggy and finding a color
I need help with:
1)Make a progress report say how long the scripts been running for
2)PADR's in progress report (make progress report even and neat)
3)Searching mini map top to bottom/ searching top half
--------------------------------------------------------------------------------------------------------------------------------------------
Progress Report
How do you make the script tell you how long it's been running, I saw like 2 or 3 things so far, and they didn't work, I tried
writeln('|This Script Ran For' + TimeRunning + ' |');
and something else, I think skilld u had in a tut, neither worked. I think there's a string I need after TimeRunning, that says either seconds, minutes, or hours, but I tried doing minutes, it didn't work. Does TimeRunning still work? and I saw in skilld u's tut,
writeln(PADR('did' inttostr(loads), 49 ' |');
something like that, I can't get PADR to work, does it still work? if so how would you do PADR's?
--------------------------------------------------------------------------------------------------------------------------------------------
Seaching Top Part Of Mini Map
Also What function would you use to search the mini map from top to bottom for a color? if you cant, then how would you search the top half of the mini map, would you do
FindColorTolerance(x, y, Color1, MMC1, MMC1, MMX2, MMY2, 15);
or
FindColorTolerance(x, y, Color1, MMX1, MMY1, MMC2, MMC2, 15);
or are they both wrong or does a different code that do it better?
Any help appreciated.