Advertisement
Guest User

shutdown

a guest
May 29th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. shell.run("Windows/Functions/HideTB")
  2. sleep(1)
  3.  
  4. term.setBackgroundColor(colors.lightBlue)
  5. term.setTextColor(colors.white)
  6. term.clear()
  7. term.setCursorPos(20,9)
  8. print("  Shutting down")
  9. im = paintutils.loadImage("Windows/images/logo")
  10. paintutils.drawImage(im, 19,17)
  11. term.setCursorPos(22,17)
  12. term.setBackgroundColor(colors.lightBlue)
  13. print("Windows 7")
  14. F = fs.open("windows/ver", "r")
  15. ver = F.readAll()
  16. F.close()
  17. term.setCursorPos(22,18)
  18. print("Ver "..ver)
  19.  
  20. for i = 1,4 do
  21. term.setCursorPos(20,9)
  22. print(":")
  23. sleep(0.1)
  24. term.setCursorPos(20,9)
  25. print("/")
  26. sleep(0.1)
  27. term.setCursorPos(20,9)
  28. sleep(0.1)
  29. print("-")
  30. sleep(0.1)
  31. term.setCursorPos(20,9)
  32. print("\ ")
  33. sleep(0.1)
  34. end
  35. os.shutdown()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement