Posted 31 December 2013 - 02:22 PM
I have created a pastebin OS downloader, but I can't get the shell to work.
Here's my code.
Any help?
Here's my code.
- print("Welcome to wolfie.com/oswolf.html!")
- print("Enter a OS name.")
- print("The OSes we have are:")
- local oses = "LyqydOS, CraftoidOS, PearOS, RedOS, TungstenOS, NexOS, AquaOS, KrussOS, LeadlinedOS, Jupiter, VoidOS, Extended Shell, CannonOS, FlowOS, HdOS, MarMarOlive, SkyOS"
- print(oses)
- input = read()
- local os = string.lower(input)
- if os == "lyqydos" then
- pc = WmFHmuZq
- elseif os == "craftoidos" then
- pc = FgJszA48
- elseif os == "pearos" then
- pc = LRFsvuN3
- elseif os == "redos" then
- pc = "iFqHK3a"
- elseif os == "tungstenos" then
- pc = F8GjuMf1
- elseif os == "nexos" then
- pc = H7ZQtZ43
- elseif os == "aquaos" then
- pc = E8qbntaA
- elseif os == "krussos" then
- pc = ya45RM32
- elseif os == "leadlinedos" then
- pc = "8a56FiF"
- elseif os == "jupiter" then
- pc = WQX8hhYk
- elseif os == "voidos" then
- pc = a9Q45w5L
- elseif os == "extendedshell" then
- pc = tQutzmaX
- elseif os == "cannonos" then
- pc = vs6vcFvF
- elseif os == "flowos" then
- pc = ZsyCFtWr
- elseif os == "hdos" then
- pc = w3gwbP5R
- elseif os == "marmarolive" then
- pc = rGN6L97Y
- elseif os == "skyos" then
- pc = VUc0PdRa
- else
- print("Incorrect input.")
- end
- shell.run("pastebin", "get "..pc.." installer")
- print("Downloaded "..os)
- print("Run installer to install "..os)
Any help?