Advertisement
Guest User

pass

a guest
Nov 23rd, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. rednet.open("bottom")
  2. while true do
  3. id,msg,protocol=rednet.receive()
  4. if msg=="open" then
  5. rednet.send(1,"yes")
  6.  rs.setOutput("top",true)
  7.  else
  8.  rednet.send(1,"no")
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement