Advertisement
Guest User

access

a guest
Jun 29th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("RadOS V1.1")
  4. term.setCursorPos(1,2)
  5. print("Pip-Boy: Not activated")
  6. term.setCursorPos(1,5)
  7. print("-=-=-=-={Sunslinger's terminal}-=-=-=-=-=-")
  8. print("|Please type selection...                |")
  9. print("|[1A]--------------------------------Logs|")
  10. print("|[2A]----------------------Doors&Monitors|")
  11. print("|[3A]--------------------------Newspapers|")
  12. print("-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=")
  13. term.setCursorPos(1,11)
  14. write(">> ")
  15. input = read()
  16. if input == "1A" then
  17. shell.run("logs")
  18. elseif input == "2A" then
  19. shell.run("DM")
  20. elseif input == "3A" then
  21. shell.run("papers")
  22. else
  23. print("Invalid directory name please try again later!")
  24. shell.run("access")
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement