uhm, okey guys i actually never ask for help at the forums, but this one is kinda weird.
SCAR Code:Players[CurrentPlayer].Integers[10] := GetSkillInfo('mining', False);
Writeln(Players[CurrentPlayer].Integers[10]);
Wait(100);
Players[CurrentPlayer].Integers[15] := GetSkillInfo('attack', False);
if (not(MiningSetup('iron'))) then
begin
Case (Players[CurrentPlayer].Integers[10]) of
9..1 : IncEx(WaitTime, 200);
29..10 : IncEx(WaitTime, 150);
49..30 : IncEx(WaitTime, 100);
50..99 : IncEx(WaitTime, 35);
end;
end else
begin
Case (Players[CurrentPlayer].Integers[10]) of
14..1 : StopReason('Higher mining is necessary, Terminating Script...');
29..15 : IncEx(WaitTime, 200);
49..30 : IncEx(WaitTime, 125);
50..99 : IncEx(WaitTime, 50);
end;
end;
FindPickHeadColor;
Writeln(Waittime);
Its supposed to change WaitTime to the specified mining level, but writelns never lie, here's my debug:
21
PickColors = [1715257,1715257,1583156,1583156,2243147];
0
Cases ftl?




, but this one is kinda weird.
?
Reply With Quote






