Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("left")
- while true do
- event,id,msg = os.pullEvent()
- if event == "rednet_message" then
- if msg == "fairopen" then
- rs.setOutput("top",false)
- os.sleep(0.2)
- rs.setOutput("front",true)
- elseif msg == "fairclose" then
- rs.setOutput("front",false)
- os.sleep(0.2)
- rs.setOutput("top",true)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment