copper
TD Admin
Omission asked for this, but I may as well share with everyone. As written this script binds the - key to toggle demo recording on/off. There is a message in console telling whether it is recording or has stopped. It's good for 10 demos before it overwrites old ones, so rename ones you want to keep. Don't forget to "exec autoexec".
Code:
// DEMO HOTKEY
alias rec "temp0"
alias temp0 "record _temp0; echo RECORDING _TEMP0.DEM ...; alias rec end0"
alias end0 "echo RECORDING STOPPED; stop; alias rec temp1"
alias temp1 "record _temp1; echo RECORDING _TEMP1.DEM ...; alias rec end1"
alias end1 "echo RECORDING STOPPED; stop; alias rec temp2"
alias temp2 "record _temp2; echo RECORDING _TEMP2.DEM ...; alias rec end2"
alias end2 "echo RECORDING STOPPED; stop; alias rec temp3"
alias temp3 "record _temp3; echo RECORDING _TEMP3.DEM ...; alias rec end3"
alias end3 "echo RECORDING STOPPED; stop; alias rec temp4"
alias temp4 "record _temp4; echo RECORDING _TEMP4.DEM ...; alias rec end4"
alias end4 "echo RECORDING STOPPED; stop; alias rec temp5"
alias temp5 "record _temp5; echo RECORDING _TEMP5.DEM ...; alias rec end5"
alias end5 "echo RECORDING STOPPED; stop; alias rec temp6"
alias temp6 "record _temp6; echo RECORDING _TEMP6.DEM ...; alias rec end6"
alias end6 "echo RECORDING STOPPED; stop; alias rec temp7"
alias temp7 "record _temp7; echo RECORDING _TEMP7.DEM ...; alias rec end7"
alias end7 "echo RECORDING STOPPED; stop; alias rec temp8"
alias temp8 "record _temp8; echo RECORDING _TEMP8.DEM ...; alias rec end8"
alias end8 "echo RECORDING STOPPED; stop; alias rec temp9"
alias temp9 "record _temp9; echo RECORDING _TEMP9.DEM ...; alias rec end9"
alias end9 "echo RECORDING STOPPED; stop; alias rec temp0"
// MISCELLANEOUS BINDS
bind - "status; rec"