skare

Untitled

Jun 20th, 2014
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rednet.open("right")
  2. while true do
  3.   event, id, text = os.pullEvent()
  4.   if event == "rednet_message" then
  5.     print(text)
  6. if text=="opeen" then
  7. redstone.setOutput("back", true)
  8. sleep(3)
  9. redstone.setOutput("back", false)
  10. else
  11. os.reboot()
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment