diff options
author | ubq323 <ubq323@ubq323.website> | 2022-06-27 22:45:25 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-06-27 22:45:25 +0100 |
commit | 65fcf654a30e2a33b5c9d04ce58ac884ee65b9cc (patch) | |
tree | f1b8fd5d4261beabe6ef9f84539c028ceb8cc409 | |
parent | 6ef043e220d6bcea3a3f628060225f2ca6c380b7 (diff) |
pm
-rw-r--r-- | pm.lua | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,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]) |