Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- while true do
- id, msg = rednet.receive()
- if msg == "JObufferTrue" then
- rednet.broadcast("JObufferTrue")
- redstone.setOutput("right", true)
- elseif msg == "JObufferFalse" then
- rednet.broadcast("JObufferFalse")
- redstone.setOutput("right", false)
- end
- sleep(0.75)
- end
Advertisement
Add Comment
Please, Sign In to add comment