Advertisement
9551

Untitled

May 23rd, 2021 (edited)
410
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. -------button API by elektrobom1 INSTALLER---------
  2. print("installing button API!")
  3. sleep(0.5)
  4. fs.makeDir("startup")
  5. shell.run("pastebin get LTDZZZEJ button")
  6. shell.run("pastebin get GyXnHtye BList")
  7. term.clear()
  8. term.setCursorPos(1,1)
  9. print("do you want to install examples ? (y/n)")
  10. a,b,c = os.pullEvent("key")
  11. if keys.getName(b) == "n" then
  12. print("button API by elektrobom1 installed succesfully!")
  13. print("this is an API with a lot of button/menu functions")
  14. print("it can make all sorts of buttons sliders switches etc,")
  15. print("but also allows for making advanced progres bars in asingle line of code!")
  16. print("also counters, and also allows easy bundled cable usage/implementation!")
  17. print("to view this list type BList")
  18. end
  19. if keys.getName(b) == "y" then
  20. term.clear()
  21. term.setCursorPos(1,1)
  22. fs.makeDir("examples")
  23. print("downloading examples")
  24. sleep(2)
  25.  
  26.  
  27. print("button API by elektrobom1 installed succesfully!")
  28. print("this is an API with a lot of button/menu functions")
  29. print("it can make all sorts of buttons sliders switches etc,")
  30. print("but also allows for making advanced progres bars in asingle line of code!")
  31. print("also counters, and also allows easy bundled cable usage/implementation!")
  32. print("to view this list type BList")
  33. end
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement