Advertisement
Ungarscool1

os mobile

Jul 19th, 2014
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. term.setBackgroundColor(colors.blue)
  4. while true do
  5. print(os.time())
  6. end
  7. term.setCursorPos(15,1)
  8. while true do
  9. print(os.day())
  10. end
  11. term.setCursorPos(20,1)
  12. print("version 1.0")
  13. end
  14. term.setBackgroundColor(colors.black)
  15. term.setCursorPos(1,2)
  16. write("C:/")
  17.    repeat
  18.             event, key = os.pullEvent("key")
  19.             os.sleep(0.1)
  20.     until key == 30
  21. os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement