Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ### DATOR 2
- rednet.open("top")
- local id,message = rednet.receive()
- -- ON
- if message == "won" then
- rs.setOutput("back", true)
- end
- if message == "bon" then
- rs.setOutput("left", true)
- end
- if message == "ron" then
- rs.setOutput("right", true)
- end
- -- OFF
- if message == "woff" then
- rs.setOutput("back", false)
- end
- if message == "boff" then
- rs.setOutput("left", false)
- end
- if message == "roff" then
- rs.setOutput("right", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment