--WORM START
input = io.read()
if input == "Worm"
then
print"Launching worm!"
sleep(2)
shell.run("worm")
end
--MIRRORS START
input = io.read()
if input == "Mirrors"
then
print"Launching Mirrors!"
sleep(2)
shell.run("pastebin get PGSWyuRa Mirrors")
sleep(1)
shell.run("Mirrors")
end
You aren't using any 'elseif' and just using io.read() twice, So the first time it only checks for the input worm, And if it isn't worm in continues to the next read you have, Either use elseifs or have a table that it checks from.
Here's a cleanup for your code
local input = io.read()
if input == "Worm" then
print"Launching worm!"
sleep(2)
shell.run("worm")
elseif input == "Mirrors" then
print"Launching Mirrors!"
sleep(2)
shell.run("pastebin get PGSWyuRa Mirrors")
sleep(1)
shell.run("Mirrors")
else -- Here it is if the input wasn't equal to 'Mirrors' or 'Worm'
print("Incorrect game name entered!")
end
One tip: Don't overuse sleep, People usually don't like it when there are lots of 'sleep' calls