Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x,y = term.getSize()
- local user = "[email protected]";
- local cPrint = function(text)
- local x2,y2 = term.getCursorPos()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- print(text)
- end
- term.clear()
- term.setCursorPos(1,1)
- cPrint("/--=Welcome=--\\")
- cPrint("| N-Mail v1.0 |")
- cPrint("\\--=Welcome=--/")
- print()
- cPrint("[ ] Messages [01]")
- cPrint("[X] Contacts [09]")
- cPrint("[ ] Junk [50]")
- cPrint("[ ] Spam [9001]")
- cPrint("[ ] Exit [Don't]")
- term.setCursorPos(1,y)
- write("#" ..os.getComputerID())
- term.setCursorPos(#user-1, y)
- write(user)
- sleep(10)
Advertisement
Add Comment
Please, Sign In to add comment