06NinjaKid06

CC MinerOS

Jun 20th, 2023 (edited)
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. term.clear()
  2. print("Welcome to the MinerOS Setup. Do you want to continue? y = Yes, n = No.")
  3. local continue = read(*)
  4. if continue == "y"
  5. {
  6.  print("Please wait...")
  7.  local file fs.open("almost", "w")
  8.  file.writeLine("shell.run('pastebin get bkrUKq5T setup')")
  9.  file.close()
  10.  shell.run("reboot")  
  11. }
  12. if continue == "n"
  13. {
  14.     exit()
  15. }
  16. else
  17. {
  18.     print("Unknown response, try again.")
  19.     shell.run("reboot")
  20. }
Advertisement
Add Comment
Please, Sign In to add comment