Advertisement
Guest User

bsod.lua

a guest
Jul 13th, 2015
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. lines = {}
  2. lines[1] = "BAD_FILE"
  3. lines[2] = " "
  4. lines[3] = "ProOS была остановлена во избежания повреждения компьютера."
  5. lines[4] = "Если ошибка повторится, обратитесь к Programist135 за помощью."
  6. lines[5] = "Код ошибки: 0x000000BD"
  7.  
  8. local com = require("component")
  9. local term = require("term")
  10. local computer = require("computer")
  11. local event = require("event")
  12. local gpu = com.gpu
  13.  
  14. gpu.setBackground(0x0000FF)
  15. term.clear()
  16. gpu.set(25, 1, "A fatal error has occured.")
  17. term.setCursor(1, 3)
  18. for _, line in pairs(lines) do
  19.   print(line)
  20. end
  21. gpu.set(25, 25, "Press any key to continue.")
  22. event.pull("key_down")
  23. computer.shutdown(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement