jamesscape2

Dust

Jan 29th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. rednet.open("left")
  2.  
  3. local senderIDI, slot = rednet.receive()
  4. sleep(0.2)
  5. local senderIDA, amount = rednet.receive()
  6.  
  7. if slot == 17 then
  8. slot = 1
  9. else if slot == 18 then
  10. slot = 2
  11. else if slot == 19 then
  12. slot = 3
  13. else if slot == 20 then
  14. slot = 4
  15. else if slot == 21 then
  16. slot = 5
  17. else if slot == 22 then
  18. slot = 6
  19. else if slot == 23 then
  20. slot = 7
  21. else if slot == 24 then
  22. slot = 8
  23. else if slot == 25 then
  24. slot = 9
  25. else if slot == 26 then
  26. slot = 10
  27. else if slot == 27 then
  28. slot = 11
  29. else if slot == 28 then
  30. slot = 12
  31. else if slot == 29 then
  32. slot = 13
  33. else if slot == 30 then
  34. slot = 14
  35. else if slot == 31 then
  36. slot = 15
  37. else if slot == 32 then
  38. slot = 16
  39. print(senderIDI)
  40. print(slot)
  41. print(senderIDA)
  42. print(amount)
  43.  
  44. sleep(10)
  45.  
  46. rednet.close("left")
  47.  
  48. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment