beefman
2014-07-02 20:06:37
This is probably a newbie error but why am i getting it?
Error: Exception in Script: Unknown declaration "tabBackpack" at line 7, column 3
Line 7: tabBackpack.Open;
var
CraftCount: integer;
procedure CutShafts();
begin
tabBackpack.Open;
if tabBackpack.isFull(); then
begin
tabBackpack.mouseSlot(RandomRange(2 ,4), MOUSE_LEFT);
CraftCount := CraftCount + 1 ;
end;
end;
if (CraftCount = 1) then
begin
wait(randomRange(700,1400));
Mouse(285, 209, 20, 20, MOUSE_LEFT);
end;
if (CraftCount > 1) then
begin
wait(randomRange(700,1400));
productionScreen.clickStart();
wait(randomRange(49000,53000));
end;
Error: Exception in Script: Unknown declaration "tabBackpack" at line 7, column 3
Line 7: tabBackpack.Open;