pwnaz0r
2007-12-24 14:32:50
Well, I kinda redid it. Idk how close it is to the other one because i didn't even look at it but here it is, see how you like it.
procedure PickupMouse2;
var
P: TPointArray;
I, lX, X, Y, l: Integer;
Increase: boolean;
begin
GetMousePos(X, Y);
lX:= X;
if (random(10) < 4)then Increase:= true;
if (Increase)then
begin
for I:= Y downto Round(Abs(Y - random(225)))-210 do
begin
if (Random(6) < 4)then continue;
SetArraylength(P, Length(P)+1);
P[High(P)].x:= Round(Abs(lX+random(4)-random(4)));
P[High(P)].y:= I;
lX:= P[High(P)].x;
end;
end else
begin
for I:= Y to Round(Abs(Y + random(225)))+210 do
begin
if (Random(6) < 4)then continue;
SetArraylength(P, Length(P)+1);
P[High(P)].x:= Round(Abs(lX+random(4)-random(4)));
P[High(P)].y:= I;
lX:= P[High(P)].x;
end;
end;
for I:= 0 to High(P) do
begin
MoveMouse(P[i].x, P[i].y);
if(random(2) = 1)then continue;
wait(1);
end;
MMouse(x, y, 0, 0);
end;