Advertisement
Guest User

SecondaryDoor

a guest
Mar 22nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. rednet.open("bottom")
  2. while true do
  3.   id, message = rednet.receive("SecondaryDoor")
  4.   print("Recieved")
  5.   if message == true then
  6.     rs.setOutput("back", true)
  7.     os.sleep(0.25)
  8.     rs.setOutput("back", false)
  9.   end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement