Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("bottom")
- while true do
- id,msg,protocol=rednet.receive()
- if msg=="open" then
- rednet.send(1,"yes")
- rs.setOutput("top",true)
- else
- rednet.send(1,"no")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement