Advertisement
DanielLaby99

LabyOS Windows 7

Oct 11th, 2013
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.97 KB | None | 0 0
  1. --#######################################
  2. local x = 0 -- [1=Update and 0=No_Update]
  3. --#######################################
  4.  
  5.  
  6. local function s(...) return sleep(...) end
  7. local function w(...) return write(...) end
  8. local function p(...) return print(...) end
  9. local function tw(...) return term.write(...) end
  10. local function scp(...) return term.setCursorPos(...) end
  11. local function sbc(...) return term.setBackgroundColor(...) end
  12. local function stc(...) return term.setTextColor(...) end
  13. local function tc(...) return term.clear(...) end
  14. local function tcl(...) return term.clearLine() end
  15. local function scb(...) return term.setCursorBlink(...) end
  16. local function ts(...) return term.scroll(...) end
  17. local function r(...) return shell.run(...) end
  18. if x==0 then
  19. scp(29,1)
  20. stc(1)
  21. sbc(2048)
  22. stc(16)
  23. w([[:Es gibt keine Updates.]])
  24. scp(29,2)
  25. p([[:LabyOS V2.0 BETA]])
  26. elseif x==1 then
  27. scp(40,1)
  28. stc(1)
  29. sbc(2048)
  30. stc(16)
  31. w([[:Updating...]])
  32. scp(40,2)
  33. p([[:]])
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement