Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- selection = 1
- local downloadIDS = {}
- downloadIDS[1] = "jKvfqiTS"
- downloadIDS[2] = "9wXFt5J8"
- downloadIDS[3] = "XBnbrKdg"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Welcome to m0d'z program shop!")
- print("N = next, B = Back, Enter = download")
- print("Programs: ")
- if selection == 1 then
- print("NeXuS IRC")
- print("Chat with everyone instantly.")
- elseif selection == 2 then
- print("DigDug")
- print("Play your classic DigDug")
- elseif selection == 3 then
- print("N-PowerPoint")
- print("Make a powerpoint in CC")
- end
- local event, id = os.pullEvent("key")
- if id == 48 and selection < 1 then
- selection = selection-1
- elseif id == 49 and selection > 3 then
- selection = selection+1
- elseif id == 28 then
- shell.run("pastebin","get",downloadIDS[selection],selection)
- error()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment