joshuaferr1s

door

Jun 10th, 2021
874
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.   JoshCorp's Poor Door
  3.  
  4.   Usage: Use as startup program
  5. ]]--
  6.  
  7. rednet.open("right")
  8.  
  9. while true do
  10.   id, message = rednet.receive()
  11.  
  12.   if id==4 and message="sesame" then
  13.     redstone.setOutput("top", true)
  14.     sleep(2)
  15.     redstone.setOutput("top", false)
  16.   end
  17. end
RAW Paste Data