Advertisement
PolskiWisnia

Minedows 2.3 GUI

Jul 24th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.96 KB | None | 0 0
  1. -- Oprogramowanie skladowe/instalator systemow/czesc skladowa stworzonych przez uzytkownika serwisu Discord - Wisnia#5536 --
  2. -- Jesli zaplaciles za to oprogramowanie zostales oszukany. --
  3. -- Zakazuje sie kopiowania oprogramowania bez zgody autora, czerpania korzysci materialnych, podpisywania sie pod oprogramowaniem --
  4. -- Dozwolone jest tworzenie modyfikacji oprogramowania badz jego czesci wylacznie wtedy, gdy widoczna jest informacja o oryginalnym autorze --
  5. -- Kompletna EULA dostepna jest na serwerze Discord: CRfXMXU --
  6. -- Minedows Pro 2.3 GUI --
  7. while true do
  8. term.clear()
  9. term.setBackgroundColor(colors.white)
  10. term.clear()
  11. term.setBackgroundColor(colors.white)
  12. time = os.time()
  13. time = textutils.formatTime(time, true)
  14. term.setBackgroundColor(colors.blue)
  15. term.setTextColor(colors.white)
  16. term.setCursorPos(46,1)
  17. print(time)
  18. term.setCursorPos(1,1)
  19. print("Minedows XP Pro 2.3")
  20. term.setCursorPos(1,2)
  21. print("Wsparcie dla tej wersji systemu zostalo zakonczone")
  22. print("28 lutego 2019 roku. Zalecamy aktualizacje do MineCore")
  23. term.setBackgroundColor(colors.green)
  24. term.setTextColor(colors.white)
  25. term.setCursorPos(1,18)
  26. print("Start")
  27. local event, click, x, y = os.pullEvent("mouse_click")
  28. if x == 1 and y == 19 or x == 2 and y == 19 or x == 3 and y == 19 or x == 4 and y == 19 or x == 5 and y == 19 or x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 4 and y == 18 or x == 5 and y == 18  then
  29.  term.setBackgroundColor(colors.blue)
  30.  term.setCursorPos(46,1)
  31.  print(time)
  32.  term.setCursorPos(1,1)
  33.  print("Minedows XP Pro 2.3")
  34.  term.setCursorPos(1,18)
  35.  print("Wylacz           ")
  36.  term.setCursorPos(1,17)
  37.  print("Uruchom ponownie ")
  38.  term.setCursorPos(1,16)
  39.  print("Wyjdz do CraftOS ")
  40.  term.setCursorPos(1,15)
  41.  print("Programy         ")
  42.  term.setCursorPos(1,14)
  43.  print("Aktualizuj system")
  44.  term.setCursorPos(1,13)
  45.  print("MineSurf         ")
  46.  term.setCursorPos(1,12)
  47.  print("Eksplorator      ")
  48.  local event, click, x, y = os.pullEvent("mouse_click")
  49.  if x == 1 and y == 18 or x == 2 and y == 18 or x == 3 and y == 18 or x == 4 and y == 18 then os.shutdown() end
  50.  if x == 1 and y == 17 or x == 2 and y == 17 or x == 3 and y == 17 or x == 4 and y == 17 then os.reboot() end
  51.  if x == 1 and y == 16 or x == 2 and y == 16 or x == 3 and y == 16 or x == 3 and y == 16 then term.clear() term.setCursorPos(1,1) error("") end
  52.  if x == 1 and y == 15 or x == 2 and y == 15 or x == 3 and y == 15 or x == 4 and y == 15 then shell.run("/os/.programy") end
  53.  if x == 1 and y == 14 or x == 2 and y == 14 or x == 3 and y == 14 or x == 4 and y == 14 then shell.run("/os/.update") end
  54.  if x == 1 and y == 13 or x == 2 and y == 13 or x == 3 and y == 13 or x == 4 and y == 13 then shell.run("/os/.surf") end
  55.  if x == 1 and y == 12 or x == 2 and y == 12 or x == 3 and y == 12 or x == 4 and y == 12 then if fs.exists("/os/.explorer") then  
  56.  shell.run("pastebin get 2uECXPh2 /os/.explorer") shell.run("/os/.explorer") else shell.run("/os/.explorer") end end
  57. end
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement