Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Functions--
- function commandExit()
- local ec = read()
- if ec ~= "1" then
- startUp()
- else
- term.clear()
- term.setCursorPos(1, 1)
- end
- end
- function startUp()
- term.clear()
- term.setCursorPos(1, 2)
- print("0----------------0---------0")
- term.setCursorPos(1, 3)
- print(": Welcome to : Remember:")
- term.setCursorPos(1, 4)
- print(": SciOS v0.2 : to Copy :")
- term.setCursorPos(1, 5)
- print("0----------------0 Over to :")
- term.setCursorPos(1, 6)
- print(": : Startup :")
- term.setCursorPos(1, 7)
- print("0------0---------0---------0")
- term.setCursorPos(1, 8)
- print(":1-Exit:")
- term.setCursorPos(1, 9)
- print("0------0")
- term.setCursorPos(2, 6)
- commandExit()
- end
- --Start of OS--
- startUp()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement