if fs.exists("derp") then
local rf = fs.open("derp", "r")
lines = rf.readAll()
rf.close()
while lines do
if lines and string.find(lines, [[shell.run%("herpherp-1.0/herpherp"%)]]) then
print("FOUND IT!")
else
print("Didn't find herpherp.")
error()
end
end
end
Hypothetically speaking this is what I've got. Within the file, "derp" will have "shell.run("herpherp-1.0/herpherp"). Before when it was just shell.run("herpherp") it would work with the setup I have, but now that I've added a bunch of stuff to it, it can't detect it.












