Advertisement
PolskiWisnia

NextUI 2.0 Settings

Oct 19th, 2020
1,894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.37 KB | None | 0 0
  1. function nust()
  2. while true do
  3. if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
  4. tc()
  5. if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
  6. pfb(1, h, w, h, colors.blue)
  7. scp(1,h)
  8. stc(colors.white)
  9. if colr == "colors.orange" then sbc(colors.orange) elseif colr == "colors.magneta" then sbc(colors.magneta) elseif colr == "colors.lightBlue" then sbc(colors.lightBlue) elseif colr == "colors.yellow" then sbc(colors.yellow) elseif colr == "colors.lime" then sbc(colors.lime) elseif colr == "colors.pink" then sbc(colors.pink) elseif colr == "colors.gray" then sbc(colors.gray) elseif colr == "colors.lightGray" then sbc(colors.lightGray) elseif colr == "colors.purple" then sbc(colors.purple) elseif colr == "colors.blue" then sbc(colors.blue) elseif colr == "colors.brown" then sbc(colors.brown) elseif colr == "colors.green" then sbc(colors.green) elseif colr == "colors.red" then sbc(colors.red) elseif colr == "colors.black" then sbc(colors.black) stc(colors.white) elseif colr == "colors.white" then sbc(colors.white) stc(colors.black) end
  10. write("Start")
  11. pdp(w-1,h, colors.red)
  12. pdp(w,h, colors.orange)
  13. pfb(1, 1, w, 1, colors.blue)
  14. scp(1,1)
  15. p("Ustawienia NextUI")
  16. pdp(w,1, colors.red)
  17. pfb(3, 4, 13, 6, colors.orange)
  18. scp(3,5)
  19. stc(colors.white)
  20. p("Informacje")
  21. pfb(27, 4, 37, 6, colors.cyan)
  22. scp(27,5)
  23. stc(colors.white)
  24. p("Biurko")
  25. pfb(15, 4, 25, 6, colors.green)
  26. scp(15,5)
  27. stc(colors.white)
  28. p("Ustawienia")
  29. pfb(39, 4, 49, 6, colors.red)
  30. scp(39,5)
  31. stc(colors.white)
  32. p("Aplikacje")
  33. local event, click, x, y = os.pullEvent("mouse_click")
  34. if x == w and y == 1 then system() end
  35. if x>0 and x<6 and y == h then start() end
  36. if x>2 and x<14 and y>3 and y<7 then infust() end
  37. if x>14 and x<26 and y>3 and y<7 then setust() end
  38. if x>26 and x<38 and y>3 and y<7 then deskust() end
  39. if x>38 and x<50 and y>3 and y<7 then apps() end
  40. end
  41. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement