SRL Archive - Help and Support

What's wrong with this


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:

  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

Widget

2007-04-29 12:36:37

if not (Bankscreen) then
Begin
SymbolFinder(x,y,'Bank')
OpenBankGlass('veb', False, False);
FFlag(0);
Wait(1000);
BankCounter:=BankCounter+1;
end;

Is that it?

rkroxpunk

2007-04-29 22:12:09

O probly lol i knew it was something stupid like that. thx