star_weaver

Untitled

Oct 24th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local time = os.time()
  2. local moniter = peripheral.wrap('side')
  3. local function getTime()
  4. moniter.clear()
  5. moniter.setCursorPos(1, 1)
  6. moniter.write(textutils.formatTime(time, bTwentyFourHour))
  7. sleep(0.75)
  8. end
  9. while true do
  10. getTime()
  11. end
Add Comment
Please, Sign In to add comment