Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- rs.setOutput("top", false)
- while true do
- local senderId, message, protocol = rednet.receive()
- if message == "on" then
- rs.setOutput("top", true)
- elseif message == "off" then
- rs.setOutput("top", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment