well hopefully this is the 3rd time posting this and if it isn't answered this time well i guess im making a new bank finding procedure anybody that helps me will get a custom made trophy avatar and ill let them have my script when its in beta,the program should basically fins the bank when facing south and click on it but is doesn't please help
SCAR Code:
function doveb:boolean;
var banker,i,o :integer;
bankdots :tpointarray;
begin
setarraylength(bankdots,6)
banker := DTMFromString('78DA63EC676260F06640017FFE30816946289' +
'F11A4C68B809A3EC2E60000E64B0887');
FindmmDtm(bankdots[5].x,bankdots[5].y,banker);
FindmmDtm(bankdots[i].x,bankdots[i].y,banker);
repeat
if (FindDTM(banker,bankdots[i+1].x,bankdots[i+1].y,bankdots[i].x+1,0,749,162)) then
begin
if (distance(bankdots[5].x,bankdots[5].y,bankdots[i+1].x,bankdots[i+1].y) < 20) then
begin
i := i+1;
writeln('added 1 to i');
end;
o := o+1
end;
until ((i=4) or (o=5));
if (i=4) then
begin
mouse(bankdots[2].x,bankdots[2].y + 10,3,-3,true)
result := true;
end else
begin
result := false;
end;
end;