Jump to content




Help with Pastebin

java networking wireless

1 reply to this topic

#1 Wolfie

  • Members
  • 22 posts

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.

  • 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?


#2 gollark8

  • Members
  • 207 posts

Posted 31 December 2013 - 03:17 PM

your [pastebin] codes have to be strings.

[The first part of your post was complete nonsense and incorrect. I was going to delete it, but you had some good information on the last line, so I've kept that. -L]

Edited by Lyqyd, 31 December 2013 - 04:25 PM.
removed nonsense.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users