blob: ff2bef6a7d498b88357072d8b043b570159ec9bd (
plain)
1
2
3
4
5
6
7
|
local function dl(filename)
local file=fs.open("/"..filename..".lua")
local res = http.get("https://g.gh0.pw/ccprogs/plain/"..filename..".lua")
file.write(res.readAll())
end
dl(arg[1])
|