Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. procedure EventLoop();
  2. var
  3. justCrafted: boolean;
  4.  
  5. begin
  6.  
  7. if (tabBackpack.count() = 28) then
  8. justCrafted := false;
  9.  
  10.  
  11. if ((tabBackpack.count() = 5) and (not justCrafted)) then
  12. begin
  13. crafted += getItemAmount(tabBackpack.getSlotBox(2));
  14. justCrafted := true;
  15. end;
  16.  
  17. ProgRep();
  18. wait(1000);
  19. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement