Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- [Downloader Plazter's programs] --
- function display()
- term.clear()
- term.setCursorPos(1,1)
- print("What program do you wish to download?")
- print("a.) Platform --[Turtle program ]--")
- print("b.) House Builder --[Turtle program ]--")
- print("c.) Auto quarry placement --[Turtle program ]--")
- print("d.) Keypress timer")
- print("e.) Tree farm --[Turtle Program ]--")
- local event, key = os.pullEvent("key")
- if key == keys.a then
- print " I WILL NOW DOWNLOAD!"
- shell.run("pastebin get cYFCR6QB platform")
- elseif key == keys.b then
- shell.run("pastebin get ThTv6i3G housebuilder")
- elseif key == keys.c then
- shell.run("pastebin get Sb8VwgwU quarry")
- elseif key == keys.d then
- shell.run("pastebin get eQwBW3mJ timer")
- elseif key == keys.e then
- shell.run("pastebin get iVSwJezC TreeFarm")
- elseif not key == keys.a or keys.b or keys.c or keys.d then
- print("Error, wrong button")
- end
- end
- display()
Add Comment
Please, Sign In to add comment