Can Some one just run over this and make sure its corect, it will find the bankers color then move -50 x which means it ends up at a bank booth.
SCAR Code:
Function OpenVarrock : Boolean;
var bx,by :integer;
begin
Flag;
if not (BankScreen) then
begin
if FindColorRightTol(bx,by,6045001,MSX1,MSY1,MSX2,MSY2, 10) then
begin
Wait(100+Random(100));
Mouse((bx- 50),by,0,3,False);
Wait(100+Random(100));
ChooseOption(bx, by, 'quickly');
Wait(500+Random(100));
Writeln('1');
if (BankScreen) then Result := True
end else
if FindColorRightTol(bx,by,5782600,MSX1,MSY1,MSX2,MSY2, 10) then
begin
Wait(100+Random(100));
Mouse((X- 50),by,0,3,False);
Wait(100+Random(100));
ChooseOption(bx, by, 'quickly');
Wait(500+Random(100));
Writeln('2');
if (BankScreen) then Result := True
end;
end;
if (BankScreen) then Result := True
end;