Nathan1852

MMServer.v1

Apr 1st, 2013
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. local modem = peripheral.wrap("bsck")
  2.  
  3. while true do
  4. if rs.getInput("left") then
  5. modem.transmit(222, 0, "place")
  6. sleep(60)
  7. modem.transmit(222, 0 "dig")
  8. rs.setOutput("right", true)
  9. sleep(0.5)
  10. rs.setOutput("right", false)
  11. end
  12. sleep(60)
  13. end
Advertisement
Add Comment
Please, Sign In to add comment