Maengorn

Door server

Jan 5th, 2021
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. rednet.open("top")
  2.  
  3. while true do
  4.  
  5. id, message == rednet.recieve()
  6.  
  7. if id == 5 and message == "password" then
  8.  
  9. redstone.setOutput("right", true)
  10.  
  11. os.sleep(1)
  12.  
  13. redstone.setOutput("right", false)
  14.  
  15. end
  16.  
  17. end
Advertisement
Add Comment
Please, Sign In to add comment