AndreSoYeah

startup

Nov 18th, 2012
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | None | 0 0
  1. shell.run("Black/variables")
  2. term.clear()
  3. term.setCursorPos(1,1)
  4. middleX = 25
  5. middleY = 9
  6. function across()
  7.   X,Y = term.getSize()
  8.   for bbb = 1,X-1 do
  9.     write("-")
  10.   end
  11. end
  12. Logo()
  13.   function space()
  14. print()
  15. end
  16. space()
  17. print("Type in 1 to go to Programs")
  18. space()
  19. print("Type in 2 to go to Options")
  20. space()
  21. print("Type in 3 to learn about Black OS")
  22. space()
  23. print("Type in 4 to enter the terminal")
  24. space()
  25. print("Type in 5 to check for an update")
  26. answer = io.read()
  27. if answer == "1" then
  28.   shell.run("Black/toprograms")
  29. elseif answer == "2" then
  30.   print("Not yet avaible")
  31.   sleep(2)
  32.   shell.run("startup")
  33. elseif answer == "3" then
  34.   shell.run("about")
  35. elseif answer == "4" then
  36.   shell.run("terminal")
  37. elseif answer == "5" then
  38.   shell.run("checkVersion")
  39. else
  40.   shell.run("startup")
  41. end
Advertisement
Add Comment
Please, Sign In to add comment