Advertisement
Guest User

opener

a guest
Nov 27th, 2014
160
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("top")
  2. rednet.host("DOP", "fabrik1_D")
  3. while true do
  4. local id,message = rednet.receive("DOP")
  5. if message == "open" then
  6.   redstone.setOutput("right",true)
  7.   sleep(2)
  8.   redstone.setOutput("right",false)
  9. end
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement