What should I do, so that I could record a demo, when I press key "j" and stop recording when I press "k"? Is there way to auto-record game every time?
Open up the console with ~ as said and enter the following
bind j "g_synchronousclients 1;record ;g_synchronousclients 0"
bind k "stoprecord"
Does trem still need g_synchronousclients? Or did timbo take that out? Anyway this works for me.
Also following, a toggle key for recording demos which can be put in config.
set startdemo "g_synchronousclients 1;record ;g_synchronousclients 0; bind k vstr stopdemo"
set stopdemo "stoprecord; ; bind k vstr startdemo"
bind k "vstr startdemo"