Nice first script
Simba Code:
fletchBox := intToBox(292,333,500,350);
wait(randomRange(20,150));
mouseBox(fletchBox, MOUSE_LEFT)
Can simply be:
Simba Code:
productionScreen.clickStart();
and
Simba Code:
if tabBackpack.waitSlotPixelChange(28,50000) then
writeln('Last backpack slot has changed, we''re done!');
made := made + 28;
should be the following if you don't want to add 28 on a failed load.
Simba Code:
if tabBackpack.waitSlotPixelChange(28,50000) then
begin
writeln('Last backpack slot has changed, we''re done!');
made := made + 28;
end;
and lastly this can be shortened:
Simba Code:
if not isLoggedIn() then
begin
players[currentPlayer].login();
exitSquealOfFortune();
minimap.setAngle(MM_DIRECTION_NORTH);
mainScreen.setAngle(MS_ANGLE_HIGH);
mainscreen.setZoom(true);
end;
repeat
if not isLoggedIn() then
players[currentPlayer].login();
until isLoggedIn();
//mainloop shizzz
repeat
openBank();
withdrawl();
antiban();
craft();
antiban();
report();
until not isLoggedIn();
to something like:
Simba Code:
repeat
if not isLoggedIn() then
begin
players[currentPlayer].login();
exitSquealOfFortune();
minimap.setAngle(MM_DIRECTION_NORTH);
mainScreen.setAngle(MS_ANGLE_HIGH);
mainscreen.setZoom(true);
end;
openBank();
withdrawl();
antiban();
craft();
antiban();
report();
until false;