Advertisement
CryptekCoding

AerialComputing

Apr 2nd, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. mon = peripheral.wrap("back")
  2.  
  3. function time()
  4.   mon.write(textutils.formatTime(os.time(),false))
  5. end
  6.  
  7. mon.setCursorPos(18,2)
  8. mon.setTextColor(colors.blue)
  9. mon.write("Aerial Computing")
  10. mon.setCursorPos(16,3)
  11. mon.setTextColor(colors.white)
  12. mon.write("Hosting done right!")
  13.  
  14. while true do
  15.   mon.setTextColor(colors.red)
  16.   mon.setCursorPos(43,1)
  17.   time()
  18.   sleep(0.1)
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement