SCAR Code:
procedure AntiBan;
begin
case random(35) + 1 of
0: HoverSkill('crafting', false);
1: HoverSkill('random', false);
2: BoredHuman;
3: HoverSkill('crafting', false);
4: BoredHuman;
5: BoredHuman;
6: HoverSkill('crafting', false);
end;
end;
This will give you a random number from 0 to 34 then add 1, meaning the range becomes 1-35. Therefore case 0 will never be called.
SCAR Code:
repeat
BankFB;
SetupProgress;
if((Times >= Players[CurrentPlayer].Integers[0]) or (not(LoggedIn)))then Break;
WalkSpinner;
SpinFlax;
WaitWhileSpinning;
WalkBank;
until((Times >= Players[CurrentPlayer].Integers[0]) or (not(LoggedIn)));
On a side note...
if ((Times >= Players[CurrentPlayer].Integers[0]) or (not(LoggedIn))) then break;
... you put that in the loop, which is also the condition for the loop. My question is does SCAR only check the exit condition when it reaches the end of the repeat loop?
I'm not too sure.