Autoaction

cg_autoaction is a bitmask to enable logging of match specific data:

Set this value to 7 will save all three in your mod folder into the subfolders demos/, screenshots/ and stats/. The file name contains the match time, game type, your player name and the map name.