farseer
2012-05-10 22:54:04
well,im pretty new started learn simba script and i just wanna banking all my oak logs but somehow won't work:
Procedure bankking;
var
x, y:Integer;
begin
//Deposit OAK LOGS
if BankScreen then
begin
if FindColorTolerance(x, y, 3958151, MIX1, MIY1, MIX2, MIY2, 20) then
begin
Writeln('Found OAK LOGS');
Mouse(x, y, 0, 0, false);
WaitOptionMulti(['posit','All'], 300);
end else;
Writeln('no OAK logs')
Exit;
end;
end;
the debug box show:
fond oak logs but do nothing just get stuck,pretty stupid question but help me alot .
Procedure bankking;
var
x, y:Integer;
begin
//Deposit OAK LOGS
if BankScreen then
begin
if FindColorTolerance(x, y, 3958151, MIX1, MIY1, MIX2, MIY2, 20) then
begin
Writeln('Found OAK LOGS');
Mouse(x, y, 0, 0, false);
WaitOptionMulti(['posit','All'], 300);
end else;
Writeln('no OAK logs')
Exit;
end;
end;
the debug box show:
fond oak logs but do nothing just get stuck,pretty stupid question but help me alot .