Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- line = 3
- sScreen = {}
- sScreen[1] = " ____ _ ___"
- sScreen[2] = "| _ \ | |/ _ \"
- sScreen[3] = "| |_) | | | | | |"
- sScreen[4] = "| __/ |_| | |_| |"
- sScreen[5] = "|_| \___/ \___/ "
- local x,y = term.getSize()
- function screen()
- term.clear()
- term.setCursorPos(1,1)
- term.write("+")
- term.write(string.rep("-", x -2))
- print("+")
- for i = 0, x -2 do
- term.write("|")
- term.write(string.rep(" ", x-2))
- print("|")
- end
- term.write("+")
- term.write(string.rep("-", x -2))
- print("+")
- for m = 1,5 do
- term.setCursorPos(3,line)
- line = line +1
- term.write(sScreen[m])
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement