Advertisement
Guest User

w1

a guest
Sep 1st, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. rednet.open("right")
  2. local id, msg = rednet.receive()
  3.  
  4. function soul()
  5.   print("got it")
  6.   redstone.setOutput("back", true)
  7.   sleep(10)
  8.   redstone.setOutput ("back", false)
  9.   rednet.send(117, "done", wither)
  10.     if msg == "done" then
  11.       if redstone.getInput("left") == false then
  12.         soul()
  13.       end
  14.     end
  15. end
  16.  
  17. while not redstone.getInput("left") do
  18.   soul()
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement