Advertisement
Guest User

smenu

a guest
May 24th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.78 KB | None | 0 0
  1. shell.run("clear")
  2. print [[
  3. Start Menu                                   |User
  4. --------------------------------------------------
  5. |Games    |  G          
  6. |Options  |  O
  7. |Programs |  P
  8. |         |
  9. |         |
  10. |         |
  11. |         |
  12. |         |
  13. |         |
  14. |         |
  15. |         |
  16. |         |
  17. |Terminal |  T
  18. |Restart  |  R
  19. --START(S)----------------------------------------
  20. ]]
  21. input = read()
  22. if input == "S" or input == "s" then
  23. shell.run("main")
  24. elseif input ~= "S" or input ~= "s" or input ~= "G" or input ~= "g" or input ~= "O" or input ~= "o" or input ~= to "P" or input ~= to "p" or input ~= "T" or input ~= "t" or input ~= "R" or input ~= "r" then
  25. shell.run("clear")
  26. shell.run("smenu")
  27. elseif input == "T" or input == "t" then
  28. shell.run("clear")
  29. shell.run("shell")
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement