Ah, I haven't - I just pasted the text into an autoexec.cfg, and then tried hitting the F11 key from the spectator menu. Then I tried it after bringing down the console.
No problem - I can probably remember /record and /stoprecord ;)
I can't get the record script working - I've copied the text into an autoexec.cfg, placed it in main, but nothing happens when I use the F11 key. I've also tried binding to another key without any success. Anyone have any ideas?