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