LazerAio

startup.lua

Feb 22nd, 2022 (edited)
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. if fs.exists(".bios.lua") then
  3. shell.run(".bios.lua")
  4. elseif fs.exists("bios.lua") then
  5. shell.run("bios.lua")
  6. else
  7. term.setBackgroundColor( colors.red )
  8. term.setCursorPos(1,1)
  9. print("AioHub RESCUE OPERATIONS!")
  10. textutils.slowPrint("Please hold")
  11. print("....")
  12. print("....")
  13. print("...")
  14. print("...")
  15. print("..")
  16. print("..")
  17. print(".")
  18. print(".")
  19. textutils.slowPrint("DO NOT PANIC!")
  20. term.clear()
  21. textutils.slowPrint("Fetching report!")
  22. term.setCursorPos(1,1)
  23. textutils.slowPrint("AioHub Rescue Operations!")
  24. textutils.slowPrint("DONT PANIC!")
  25. textutils.slowPrint("Your BIOS can not be found")
  26. textutils.slowPrint("--------------------------")
  27. print("AioHub ERR: 01A")
  28. print("Missing BIOS files")
  29. print("Possible causes include")
  30. print("1. Failed install")
  31. print("2. Malware")
  32. print("3. User error")
  33. textutils.slowPrint("---DO NOT PANIC--")
  34. sleep(1)
  35. textutils.slowPrint("Waiting 15 seconds then exiting into the unknown")
  36. print("-----")
  37. sleep(3)
  38. print("----<")
  39. sleep(3)
  40. print("---<-")
  41. sleep(3)
  42. print("--<--")
  43. sleep(3)
  44. print("-<---")
  45. print("Godspeed!")
  46. sleep(3)
  47. term.clear()
  48. term.setCursorPos(1,1)
  49. term.setBackgroundColor( colors.lime )
  50. print("OK")
  51. end
  52.  
Add Comment
Please, Sign In to add comment