Advertisement
Plazter

Timer simple

Sep 5th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. local args = {...}
  2.  
  3. local delay = tonumber(args[1])
  4. local side = args[2]
  5. -- DO NOT EDIT BELOW
  6.  
  7. while true do
  8. rs.setOutput(side, true)
  9. sleep(delay)
  10. rs.setOutput(side,false)
  11. sleep(delay)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement