Every time I stop, and then restart my script while SMART is still opens, it closes after starting the script again, and launches a new one. It causes Simba to crash often.
I'm assuming it has to do with the loop and all, so here's this:
Simba Code:
begin
SetupSRL;
DeclarePlayers;
LogInPlayer;
ClearDebug;
DeclareVars;
players[CurrentPlayer].loc := 'Walking to Bank';
proggy(players[CurrentPlayer].loc);
repeat
NextStep;
AntiBan;
if PrayerPoints < 150 then
Eat('Prayer');
if HPPercent < 50 then
Eat('Food');
until(false);
end.