xXm0dzXx

Untitled

May 19th, 2012
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1.  
  2. local cPrint = function(text)
  3. local x, y = term.getSize()
  4. local x2,y2 = term.getCursorPos()
  5. term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
  6. print(text)
  7. end
  8.  
  9. term.redirect(peripheral.wrap("back"))
  10.  
  11. shell.run("clear")
  12. term.setCursorPos(5,3)
  13. write(" _ _ _ _ _ _ \n")
  14. term.setCursorPos(5,4)
  15. write(" /\\ \\ _ /\\ \\ /_/\\ /\\ \\ /\\_\\ / /\\ \n")
  16. term.setCursorPos(5,5)
  17. write(" / \\ \\ /\\_\\ / \\ \\\\ \\ \\ \\ \\_\\ / / / _ / / \\ \n")
  18. term.setCursorPos(5,6)
  19. write(" / /\\ \\ \\_/ / // /\\ \\ \\\\ \\ \\__/ / / \\ \\ \\__ /\\_\\ / / /\\ \\__ \n")
  20. term.setCursorPos(5,7)
  21. write(" / / /\\ \\___/ // / /\\ \\_\\\\ \\__ \\/_/ \\ \\___\\ / / // / /\\ \\___\\ \n")
  22. term.setCursorPos(5,8)
  23. write(" / / / \\/____// /_/_ \\/_/ \\/_/\\__/\\ \\__ / / / / \\ \\ \\ \\/___/ \n")
  24. term.setCursorPos(5,9)
  25. write(" / / / / / // /____/\\ _/\\/__\\ \\ / / / / / / \\ \\ \\ \n")
  26. term.setCursorPos(5,10)
  27. write(" / / / / / // /\\____\\/ / _/_/\\ \\ \\ / / / / / /_ \\ \\ \\ \n")
  28. term.setCursorPos(5,11)
  29. write(" / / / / / // / /______ / / / \\ \\ \\ / / /___/ / //_/\\__/ / / \n")
  30. term.setCursorPos(5,12)
  31. write("/ / / / / // / /_______\\ / / / /_/ // / /____\\/ / \\ \\/___/ / \n")
  32. term.setCursorPos(5,13)
  33. write("\\/_/ \\/_/ \\/__________/ \\/_/ \\_\\/ \\/_________/ \\_____\\/ \n")
  34. term.setCursorPos(5,14)
  35.  
  36. print()
  37. print()
  38. print()
  39. cPrint("Theaters")
  40. cPrint("2012")
  41. term.restore()
  42. sleep(10)
  43. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment