Advertisement
Guest User

EU

a guest
Apr 27th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. while true do
  2.  
  3. rednet.open("right")
  4.  
  5. x,y,z = rednet.receive()
  6.  
  7. if y == "On" then
  8.   redstone.setOutput("left", false)
  9. end
  10.  
  11. if y == "Off" then
  12.   redstone.setOutput("left", true)
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement