Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- rednet.open("right")
- x,y,z = rednet.receive()
- if y == "On" then
- redstone.setOutput("left", false)
- end
- if y == "Off" then
- redstone.setOutput("left", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement