rkroxpunk
2007-04-29 11:34:14
Well I don't know what's wrong with this but I've got it to look for the bank 3 times or until it finds the bankscreen but it finds the bankscreen first shot and does the repeat kinda thingy:
soz I didn't really look at it that hard but i g2g to bed right now so an answer by the morning would be good :D
Makecompass('N')
LowestAngle;
OpenBankGlass('veb', False, False);
FFlag(0);
Wait(1000);
if not (Bankscreen) then
SymbolFinder(x,y,'Bank')
OpenBankGlass('veb', False, False);
FFlag(0);
Wait(1000);
BankCounter:=BankCounter+1;
if BankScreen then
begin
Result := True;
Exit;
end;
until(BankScreen=True)or(BankCounter>=3)
if (BankCounter>=3)then
Writeln('Can''t Find Bank, logging out now')
Logout;
Exit;
end;soz I didn't really look at it that hard but i g2g to bed right now so an answer by the morning would be good :D