PrometeoPrime

CC- os.startTimer(time)

Jun 1st, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. local timer1 = os.startTimer(20)
  2. while true do
  3. local event,a = os.pullEvent("timer")
  4. if a == timer1 then
  5. os.reboot()
  6. break
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment