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