Sirenia
2012-05-14 02:37:39
So guys im trying to make a script that will pick some Swap Toads for EPIC profit :P Ive completed most of the script but im struggling with the clicking part… You see those scumbag frogs are very tiny and
Mouse will missclick them by clicking outside of the object.procedure PickToads;
var
Waited, X, Y: integer;
begin
if FindColorSpiralTolerance(X, Y, ToadColor, MSX1, MSY1, MSX2, MSY2, 5) then
begin
Mouse(X, Y, 0, 0, true);
Wait(350 + random(200));
repeat
Wait(100 + random(100));
Inc(Waited);
until(CustomFlag) or (Waited = 30)
end;
end;Tell me what im doing wrong and suggest how it would work better.