Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- print("My ears are open.")
- local id, msg, proto = rednet.receive()
- if msg == "open" then
- for x=4,1,-1 do
- peripheral.call("back","move",0,false,true)
- sleep(1.5)
- end
- end
- if msg == "close" then
- for y=4,1,-1 do
- peripheral.call("back","move",1,false,true)
- sleep(1.5)
- end
- end
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement