norway240

Computer Craft: Simple Clock

Aug 29th, 2012
1,208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. while true do
  2.      term.clear()
  3.      term.setCursorPos(1,1)
  4.      local nTime = os.time()
  5.      print(textutils.formatTime(nTime,false))
  6.      sleep(1)
  7. end
Advertisement
Add Comment
Please, Sign In to add comment