im trying to come up with my bank procedure, it compiles, but when i start it to test it, the mouse moves to the top right of my screen where the close(X) button is on firefox.
here is my procedure:
SCAR Code:
program TSGBanking;
{.include SRL/SRL.scar}
var
bx, by: Integer;
procedure TGSBank;
begin
MakeCompass('W');
WriteLn('Compass now west');
end;
begin
WriteLn('Looking for bank booth');
begin
if FindObjCustom(bx, by, ['Use, ank, ooth'], [5797510, 7105905, 537927], 5)then
end;
begin
WriteLn('Found bank booth, trying to open');
MMouse(bx, by, 1, 1);
Wait(500);
Mouse(bx, by, 0, 0, false);
WriteLn('Bank opened...depositing');
ChooseOption('Use-quickly');
if BankScreen then
DepositAll;
WriteLn('Deposited logs');
end;
end.