Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------button API by elektrobom1 INSTALLER---------
- print("installing button API!")
- sleep(0.5)
- fs.makeDir("startup")
- shell.run("pastebin get LTDZZZEJ button")
- shell.run("pastebin get GyXnHtye BList")
- term.clear()
- term.setCursorPos(1,1)
- print("do you want to install examples ? (y/n)")
- a,b,c = os.pullEvent("key")
- if keys.getName(b) == "n" then
- print("button API by elektrobom1 installed succesfully!")
- print("this is an API with a lot of button/menu functions")
- print("it can make all sorts of buttons sliders switches etc,")
- print("but also allows for making advanced progres bars in asingle line of code!")
- print("also counters, and also allows easy bundled cable usage/implementation!")
- print("to view this list type BList")
- end
- if keys.getName(b) == "y" then
- term.clear()
- term.setCursorPos(1,1)
- fs.makeDir("examples")
- print("downloading examples")
- sleep(2)
- print("button API by elektrobom1 installed succesfully!")
- print("this is an API with a lot of button/menu functions")
- print("it can make all sorts of buttons sliders switches etc,")
- print("but also allows for making advanced progres bars in asingle line of code!")
- print("also counters, and also allows easy bundled cable usage/implementation!")
- print("to view this list type BList")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement