Ok, have a variable called BankFinds
When it finds a bank symbol, you want to increase that by one. There are two ways of doing this.
SCAR Code:
procedure ForExampleBankFind;
var
X, Y : Integer;
begin
if FindSymbol(X, Y, 'bank') then
begin
BankFinds:= BankFinds + 1; //This is the first way
Mouse(X, Y, 5, 5, True);
FFlag(3);
end;
end;
Or this:
SCAR Code:
procedure ForExampleBankFind;
var
X, Y : Integer;
begin
if FindSymbol(X, Y, 'bank') then
begin
Inc(BankFinds); //And this is the seconds way of increasing BankFinds by 1
Mouse(X, Y, 5, 5, True);
FFlag(3);
end;
end;
Hope I helped,
Richard