Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- local id, msg = rednet.receive()
- if 3597 then
- if msg == "lights on" then
- rs.setOutput("front")
- end
- if msg == "lights off" then
- rs.setOutput("front", false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement