Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local nScreenWidth, nScreenHeight = term.getSize()
- function printCentered(height, text)
- term.setCursorPos(nScreenWidth/2 - text:len()/2, height)
- term.write(text)
- end
- function printLogo()
- printCentered(nScreenHeight/2 - 2, " ___ ")
- printCentered(nScreenHeight/2 - 1, " / | ____ ___ ____ _____ ____ ____ ")
- printCentered(nScreenHeight/2 , " / /| | / __ '__ \\/ __ '/_ // __ \\/ __ \\")
- printCentered(nScreenHeight/2 + 1, " / ___ |/ / / / / / /_/ / / // /_/ / / / /")
- printCentered(nScreenHeight/2 + 2, "/_/ |_/_/ /_/ /_/\\__,_/ /___|____/_/ /_/ ")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement