Concommand to remove downloaded Lua?

I have an idea to help solve these GMod “viruses”.

A concommand that deletes ANY Lua and/or Dua (cache) file downloaded from the server.

Possibly the command name would be something like this:


flush_downloaded_lua

Or something like that.

Only downside is you’d have to redownload all Lua from any server you go to regularly, but meh, there’s a price for solutions sometimes.

Im not sure, but what about the console command cl_allowupload 0
I think that means all downloads are temp, and not saved.

No, it means you don’t upload things to the server.

That would be bad… and there is a module could rawio.

It wouldn’t work anyway. You don’t need to download lua to have it run on you.