Advertisement
Guest User

SciOS

a guest
Sep 1st, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. --Functions--
  2. function commandExit()
  3. local ec = read()
  4. if ec ~= "e" or "E" or "exit" or "Exit" then do
  5.   startUp()
  6.   end
  7. end
  8.  
  9. function startUp()
  10. term.clear()
  11. term.setCursorPos(1, 2)
  12. print("0----------------0---------0")
  13. term.setCursorPos(1, 3)
  14. print(":  Welcome to    : Remember:")
  15. term.setCursorPos(1, 4)
  16. print(":   SciOS v0.1   : to Copy :")
  17. term.setCursorPos(1, 5)
  18. print("0----------------0 Over to :")
  19. term.setCursorPos(1, 6)
  20. print(":                : Startup :")
  21. term.setCursorPos(1, 7)
  22. print("0------0---------0---------0")
  23. term.setCursorPos(1, 8)
  24. print(": Exit :")
  25. term.setCursorPos(1, 9)
  26. print("0------0")
  27. term.setCursorPos(2, 6)
  28. end
  29.  
  30. --Start of OS--
  31. startUp()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement