Any auto run script that will record everything in console?

Topic. I need a lua script that will record everything in console, preferably that can be turned on and off and save it in a text file for me to read at a later time.

Thanks

Garrysmod record everything (if I’m right) in the console in the garrysmod/logs folder.

Can’t you use that?

Use con_log <file> where file is where you want to save the recorded log

You’re not asking how to do something. You’re asking for it; therefore this is a request rather then a question.

What Loures said will work though.

theres an addon on this forum that has a hook evrytime a concmd is run , and theres an exmple exactly what you need.