Guest User

Untitled

a guest
Dec 9th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.19 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. senderId, message, distance = rednet.receive()
  4.  
  5. if message == "open" then
  6.  rs.setOutput("left", true)
  7.  sleep(2)
  8.  rs.setOutput("left", false)
  9. end
  10.  
  11. shell.run("startup")
Add Comment
Please, Sign In to add comment