jamesscape2

Untitled

Jan 29th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. local trueSlot
  2.  
  3. rednet.open("left")
  4.  
  5. local senderIDI, slot = rednet.receive()
  6. sleep(0.2)
  7. local senderIDA, amount = rednet.receive()
  8.  
  9.  
  10. if slot == 17 then
  11. trueSlot = slot - 16
  12. print("redstone")
  13. else if slot == 18 then
  14. trueSlot = slot - 16
  15. print("blazePowder")
  16. else if slot == 19 then
  17. trueSlot = slot - 16
  18. print("glowStone")
  19. else if slot == 20 then
  20. trueSlot = slot - 16
  21. print("nikolite")
  22. else if slot == 21 then
  23. trueSlot = slot - 16
  24. print("diamond")
  25. else if slot == 22 then
  26. trueSlot = slot - 16
  27. print("lapis")
  28. else if slot == 23 then
  29. trueSlot = slot - 16
  30. print("coal")
  31. else if slot == 24 then
  32. trueSlot = slot - 16
  33. print("clay")
  34. else if slot == 25 then
  35. trueSlot = slot - 16
  36. print("flint")
  37. else if slot == 26 then
  38. trueSlot = slot - 16
  39. print("apatite")
  40. else if slot == 27 then
  41. trueSlot = slot - 16
  42. print("scrap")
  43. else if slot == 28 then
  44. trueSlot = slot - 16
  45. print("rubber")
  46. else if slot == 29 then
  47. trueSlot = slot - 16
  48. print("ruby")
  49. else if slot == 30 then
  50. trueSlot = slot - 16
  51. print("emerald")
  52. else if slot == 31 then
  53. trueSlot = slot - 16
  54. print("sapphire")
  55. else if slot == 32 then
  56. trueSlot = slot - 16
  57. print("obsidian")
  58. end
  59. end
  60. end
  61. end
  62. end
  63. end
  64. end
  65. end
  66. end
  67. end
  68. end
  69. end
  70. end
  71. end
  72. end
  73. end
  74. sleep(1)
  75. --print(senderIDI)
  76. print(trueSlot)
  77. --print(senderIDA)
  78. print(amount)
  79.  
  80. sleep(10)
  81.  
  82. rednet.close("left")
  83.  
  84. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment