alexroge

cc message

Mar 11th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. stringTime = ""
  2. intTime = 0
  3. screen = peripheral.wrap("left")
  4. while true do
  5. shell.run("clear")
  6. screen.setTextScale(4)
  7. screen.setCursorPos(2, 3)
  8. intTime = os.time()
  9. stringTime = textutils.formatTime(intTime, true)
  10. if intTime < 10.000 then
  11. stringTime = "0" .. stringTime
  12. end
  13. print(stringTime)
  14. sleep(4)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment