tomtrein

basiccomp1

Oct 16th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. rednet.open("bottom")
  2. while true do
  3. term.clear()
  4. term.setCursorPos(1, 1)
  5. shell.run("id")
  6. local senderId, message, protocol = rednet.receive()
  7. if message == "true" then
  8. redstone.setOutput("top", true)
  9. else
  10. redstone.setOutput("top", false)
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment