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