edoreld

Untitled

Mar 13th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. while true do
  2. if rs.getInput("left") then
  3. -- Get rid of Credit
  4. rs.setOutput("front", true)
  5. os.sleep(0.5)
  6. rs.setOutput("front", false)
  7.  
  8. -- Allow IC energy to go through the cable for 5 minutes.
  9. rs.setOutput("right", true)
  10. os.sleep(300)
  11. rs.setOutput("right", false)
  12. end
  13. os.sleep(1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment