--Setup local tArgs = {...} local program = shell.getRunningProgram() if #tArgs < 2 then print("Usage: "..program.." ") print("The code must not contain the . with more random letters after it.") else --Variables local fileA = tArgs[2] local http1 = http.get("https://haste.romvoid.dev/raw/"..tArgs[1]) local http2 = http1.readAll() local file = fs.open(tostring(fileA), "w") --Functions local function clear() term.clear() term.setCursorPos(1,1) end local function main() file.write(http2) file.close() print("Success") return nil end --Execution (very simple) main() end