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