Advertisement
Guest User

Untitled

a guest
May 13th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. local addony = {"earflap", "cheesy figurine", "bola", "cheese cutter"}
  2. local poty = {"ratana", "life preserver", "leather harness", "spike shield", "spiky club"}
  3. local zao = {"rat god doll"}
  4.  
  5. local addony_pos = ground(32632, 31769, 6)--
  6. local poty_pos = ground(32633, 31769)--
  7. local zao_pos = ground(32634, 31769, 6)--
  8.  
  9.  
  10. -------opening backpacks-------
  11. setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no")
  12.  
  13. while windowcount(LootBP) ~= 1 or windowcount() ~= 1 do
  14. closewindows()
  15. wait(500, 800)
  16.  
  17. openitem(MainBP, 'back')
  18. wait(500, 800)
  19. resizewindow(MainBP, 0)
  20. wait(500, 800)
  21.  
  22. openitem(LootBP, MainBP, true)
  23. wait(700, 900)
  24.  
  25. closewindow(MainBP)
  26. wait(500, 800)
  27. end
  28.  
  29.  
  30. while true do
  31. for i=1, #addony do
  32. while itemcount(addony[i]) > 0 do
  33. moveitems(addony[i], "all", addony_pos, 100)
  34. wait(110, 140)
  35. end
  36. end
  37.  
  38. for i=1, #poty do
  39. while itemcount(poty[i]) > 0 do
  40. moveitems(poty[i], "all", poty_pos, 100)
  41. wait(110, 140)
  42. end
  43. end
  44.  
  45. for i=1, #zao do
  46. while itemcount(zao[i]) > 0 do
  47. moveitems(zao[i], "all", zao_pos, 100)
  48. wait(110, 140)
  49. end
  50. end
  51.  
  52. if itemcount(LootBP, LootBP) > 0 then
  53. openitem(LootBP, LootBP, false)
  54. wait(1000, 1200)
  55. else
  56. break
  57. end
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement