tompy90

Untitled

May 18th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. slot1 = function()
  2. while turtle.getItemCount(1) > 0 do
  3. turtle.select(1)
  4. if not turtle.dropDown() then
  5. print("waiting for space...")
  6. sleep(5)
  7. end
  8. end
  9. return
  10. end
  11. slot2 = function()
  12. while turtle.getItemCount(2) > 0 do
  13. turtle.select(2)
  14. if not turtle.dropDown() then
  15. print("waiting for space...")
  16. sleep(5)
  17. end
  18. end
  19. return
  20. end
  21. slot3 = function()
  22. while turtle.getItemCount(3) > 0 do
  23. turtle.select(3)
  24. if not turtle.dropDown() then
  25. print("waiting for space...")
  26. sleep(5)
  27. end
  28. end
  29. return
  30. end
  31. slot4 = function()
  32. while turtle.getItemCount(4) > 0 do
  33. turtle.select(4)
  34. if not turtle.dropDown() then
  35. print("waiting for space...")
  36. sleep(5)
  37. end
  38. end
  39. return
  40. end
  41. slot5 = function()
  42. while turtle.getItemCount(5) > 0 do
  43. turtle.select(5)
  44. if not turtle.dropDown() then
  45. print("waiting for space...")
  46. sleep(5)
  47. end
  48. end
  49. return
  50. end
  51. slot6 = function()
  52. while turtle.getItemCount(6) > 0 do
  53. turtle.select(6)
  54. if not turtle.dropDown() then
  55. print("waiting for space...")
  56. sleep(5)
  57. end
  58. end
  59. return
  60. end
  61. slot7 = function()
  62. while turtle.getItemCount(7) > 0 do
  63. turtle.select(7)
  64. if not turtle.dropDown() then
  65. print("waiting for space...")
  66. sleep(5)
  67. end
  68. end
  69. return
  70. end
  71. slot8 = function()
  72. while turtle.getItemCount(8) > 0 do
  73. turtle.select(8)
  74. if not turtle.dropDown() then
  75. print("waiting for space...")
  76. sleep(5)
  77. end
  78. end
  79. return
  80. end
  81. slot9 = function()
  82. while turtle.getItemCount(9) > 0 do
  83. turtle.select(9)
  84. if not turtle.dropDown() then
  85. print("waiting for space...")
  86. sleep(5)
  87. end
  88. end
  89. return
  90. end
  91. slot10 = function()
  92. while turtle.getItemCount(10) > 0 do
  93. turtle.select(10)
  94. if not turtle.dropDown() then
  95. print("waiting for space...")
  96. sleep(5)
  97. end
  98. end
  99. return
  100. end
  101. slot11 = function()
  102. while turtle.getItemCount(11) > 0 do
  103. turtle.select(11)
  104. if not turtle.dropDown() then
  105. print("waiting for space...")
  106. sleep(5)
  107. end
  108. end
  109. return
  110. end
  111. slot12 = function()
  112. while turtle.getItemCount(12) > 0 do
  113. turtle.select(12)
  114. if not turtle.dropDown() then
  115. print("waiting for space...")
  116. sleep(5)
  117. end
  118. end
  119. return
  120. end
  121. slot13 = function()
  122. while turtle.getItemCount(13) > 0 do
  123. turtle.select(13)
  124. if not turtle.dropDown() then
  125. print("waiting for space...")
  126. sleep(5)
  127. end
  128. end
  129. return
  130. end
  131. slot14 = function()
  132. while turtle.getItemCount(14) > 0 do
  133. turtle.select(14)
  134. if not turtle.dropDown() then
  135. print("waiting for space...")
  136. sleep(5)
  137. end
  138. end
  139. return
  140. end
  141. slot15 = function()
  142. while turtle.getItemCount(15) > 0 do
  143. turtle.select(15)
  144. if not turtle.dropDown() then
  145. print("waiting for space...")
  146. sleep(5)
  147. end
  148. end
  149. return
  150. end
  151. slot16 = function()
  152. while turtle.getItemCount(16) > 0 do
  153. turtle.select(16)
  154. if not turtle.dropDown() then
  155. print("waiting for space...")
  156. sleep(5)
  157. end
  158. end
  159. return
  160. end
  161.  
  162.  
  163. parallel.waitForAll(slot1, slot2, slot3, slot4, slot5, slot6, slot7, slot8, slot9, slot10, slot11, slot12, slot13, slot14, slot15, slot16)
Advertisement
Add Comment
Please, Sign In to add comment