Penguin
2014-07-14 10:21:16
For a failsafe, I'm trying to find a way so that it will read how many clicks it has performed before giving up on the inventory and continuing to the banking. I've been looking around the functionlist for a while now and have just brainfarted, here's my idea:
TLDR, Can I count Clicks?
Any help/advice would be amazing :)
var
ClickCount:Integer;
Begin
ClickCount := 0; <-- Resets the clickcount to 0 for every loop
repeat
TypeSend('1', False);
Wait(randomRange(50, 150));
fastclick(MOUSE_LEFT);
Wait(randomRange(1500, 350));
until
(isMouseOverText(['une bar']));
or
ClickCount >= 6; <-- Limits the amount of clicks since the beginning of the procedure
End;TLDR, Can I count Clicks?
Any help/advice would be amazing :)