Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oldpullEvent = os.pullEvent
- os.pullEvent = os.pullEventRaw
- print(" ")
- print("|| // ======== ||\\ //|| ||=======\ ======== ")
- print("|| // || || || \\ // || || | || ||")
- print("||// || || || \\ // || || | || ||")
- print("||\\ || || || \\// || ||=======/ || ||")
- print("|| \\ || || || || || || ||")
- print("|| \\ ======== || || || ======== ")
- print(" ")
- print(" By oVcaPolska")
- sleep(6)
- term.clear()
- term.setCursorPos(1,1)
- print("Ladowanie...")
- sleep(5)
- term.clear()
- term.setCursorPos(1,1)
- print("Witaj na komputerze naszej oVcy!")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- os.pullEvent = os.pullEventRaw
- a = "lama"
- write("Podaj haslo aby kontynuowac: ")
- b = read()
- if a==b then
- sleep(3)
- term.clear()
- term.setCursorPos(1,1)
- print("Identyfikacja zakonczona pomyslnie!")
- else
- print("Nie jestes oVca!")
- sleep(5)
- term.clear()
- term.setCursorPos(1,1)
- print("Now you die!")
- sleep(5)
- os.reboot()
- end
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- lukasz = "lukasz"
- kuba = "kuba"
- adam = "adam"
- write("Wpisz nasze imiona: ")
- name = read()
- if name==lukasz then
- term.clear()
- print("Bardzo")
- else
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Nie znamy cie!")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- os.reboot()
- end
- name2 = read()
- if name2==kuba then
- term.clear()
- print("Bardzo")
- print("Cie")
- else
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Nie znamy cie!")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- os.reboot()
- end
- name3 = read()
- if name3==adam then
- term.clear()
- print("Bardzo")
- print("Cie")
- print ("Witamy!")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Wybierz program!")
- print("Wpisz ,,lista,, aby zobaczyc liste dostepnych menu")
- print("Wpisz ,,koniec,, aby wylaczyc komputer")
- else
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Nie znamy cie!")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement