Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---[[startup]]--
- term.clear()
- --eos.pullEventRaw()
- ---[[ Os Header]]---
- term.setCursorPos(1,1)
- print("------------------------------------------")
- ---------------------------------------------------
- ---[[logo + version dispaly]]---
- term.setCursorPos(2,2)
- print(" _ _ ")
- term.setCursorPos(2,3)
- print(" | | | | ")
- term.setCursorPos(2,4)
- print(" | | __ _ _ __ ___ | | __ _ _ __ ")
- term.setCursorPos(2,5)
- print(" | |/ _` | '_ ` _ _ | |/ _` | '__| ")
- term.setCursorPos(2,6)
- print(" _ | |/ _` | '_ ` _ \ _ | |/ _` | '__| ")
- term.setCursorPos(2,7)
- print(" | |__| | (_| | | | | | | | __| | (_| | | ")
- term.setCursorPos(2,8)
- print(" \____/ \__,_|_| |_| |_| \____/ \__,_|_| ")
- term.setCursorPos(10,10)
- print("O.S")
- ---------------------------------------------------
- term.setCursorPos(1,12)
- print("------------------------------------------")
- ---[[ Username/passwords ]]---
- local usernames = "jamoir","test"
- local passwords = "password","test"
- term.setCursorPos(12,18)
- print("Password:")
- term.setCursorPos(10,20)
- print("Login")
- term.setCursorPos(12,15)
- print("Username:")
- term.setCursorPos(21,15)
- input = read(input)
- if input == usernames then
- term.setCursorPos(21,17)
- input = read("*")
- if input == passwords
- then
- end
- print("Welcome Jam Congrats on not been blown up!")
- sleep(5)
- else
- term.clear()
- redstone.setOutput("right",true)
- print("i dont think so..!")
- sleep(2)
- redstone.setOutput("right",false)
- end
Add Comment
Please, Sign In to add comment