iridektm
2012-02-12 01:34:37
I made this script for a private server, It is meant to locate color 1414418, then if it finds the color click on it. every .25 seconds. It just clicks every .25 seconds no matter what.. Please help. Im trying to get it to click in client, but it clicks everywhere even outside client.
program LastResort;
{$I SRL/SRL.simba}
procedure ClickStall;
begin
ActivateClient;
SetupSRL;
end;
var x,y: integer;
begin
repeat
if (FindColor(x,y, 1414418, MMX1, MMY1, MMX2, MMY2))
then ClickMouse(x,y, mouse_Left);
Wait(250);
until (InvFull);
end.