Advertisement
Guest User

SciOS

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