It shouldn't do that because:
Code:
DeclarePlayers;
if not(LoggedIn) then
LogInPlayer;
I don't suggest running it too fast, you should use human-like speed, but then again, you have a setting there so everyone could set up their own timer there! ;)
What happens when you run out of herbs? I didn't find a failsafe for that? It keeps opening and closing the bank and hovering mouse over items? You should do something like:
Code:
if(IsUpTextMultiCustom(['rimy', 'imy'])) then
begin
GetMousePos(x,y);
Mouse(x,y,0,0,false);
WaitOptionMulti(['Withdraw-All', 'All'], 200);
sleep(500+random(100));
end else
begin
CloseBank;
Writeln('Out of herbs.');
LogOut; //Not sure if it's called like that.
Terminatescript;
end;
I would love to see more failsafes anyway. Nevertheless, it is a neat start! Keep up the good work! ;)
~Eerik.