Advertisement
maxxam230

Untitled

Mar 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. rednet.open("top")
  2. shell.run("id")
  3. while true do
  4. local sender, message, protocol = rednet.receive()
  5. if message == "aan" then
  6. redstone.setOutput("left", false)
  7. end
  8. if message == "uit" then
  9. redstone.setOutput("left", true)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement