|
09-20-2007, 06:22 PM | #1 |
Join Date: Jul 2007
Posts Rated Helpful 0 Times
|
Demo recording script?
Anyone know of a way to make a script like this
key1 - starts recording a demo name of xxx001 key2 - stops recording, rebinds key1 to start recording next demo name of xxx002 etc. ? TY. |
|
09-20-2007, 06:45 PM | #2 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Untested, but no reason why it shouldn't work.
alias recdemo1 "record xxx001" alias recdemo2 "record xxx002" alias recdemo3 "record xxx003" ... ... ... alias recdemo11 "record xxx010" alias recdemo "recdemo1" alias stopdemo1 "stop; alias recdemo recdemo2" alias stopdemo2 "stop; alias recdemo recdemo3" alias stopdemo3 "stop; alias recdemo recdemo4" ... ... ... alias stopdemo10 "stop; alias recdemo recdemo1" alias stopdemo "stopdemo1" bind "x" "recdemo" bind "y" "stopdemo" That should do it. Fill in the ...s with repetitions up to the number you require, unfortunately we can't just add a number, you need an alias for each number. It will loop through one to ten here, (if you fill in the ...s) and then go back to xxx001. Hi Teatime, Herbie from Planet Fortress here |
|
09-20-2007, 06:50 PM | #3 |
Join Date: Jul 2007
Posts Rated Helpful 0 Times
|
hmm different teatime i think. thanks for the script.
1 little thing needs adding - in case anyone else wants to use this - add to the top section: alias recdemo1 "record xxx001; alias stopdemo stopdemo2" alias recdemo2 "record xxx002; alias stopdemo stopdemo3" . . . alias recdemo9 "record xxx009; alias stopdemo stopdemo1" alias recdemo "recdemo1" or else it will just overwrite demo xxx001 over and over. Last edited by teatime; 09-20-2007 at 07:31 PM. |
|
09-20-2007, 07:53 PM | #4 |
So the full script would look like this?:
alias recdemo1 "record xxx001; alias stopdemo stopdemo2" alias recdemo2 "record xxx002; alias stopdemo stopdemo3" ... ... ... alias recdemo9 "record xxx009; alias stopdemo stopdemo1" alias recdemo "recdemo1" alias recdemo1 "record xxx001" alias recdemo2 "record xxx002" alias recdemo3 "record xxx003" ... ... ... alias recdemo11 "record xxx010" alias recdemo "recdemo1" alias stopdemo1 "stop; alias recdemo recdemo2" alias stopdemo2 "stop; alias recdemo recdemo3" alias stopdemo3 "stop; alias recdemo recdemo4" ... ... ... alias stopdemo10 "stop; alias recdemo recdemo1" alias stopdemo "stopdemo1" bind "x" "recdemo" bind "y" "stopdemo" |
|
|
09-20-2007, 08:29 PM | #5 | |
Join Date: Jul 2007
Posts Rated Helpful 0 Times
|
Quote:
-------- alias recdemo1 "record xxx001; alias stopdemo stopdemo2" alias recdemo2 "record xxx002; alias stopdemo stopdemo3" alias recdemo3 "record xxx003; alias stopdemo stopdemo4" alias recdemo4 "record xxx004; alias stopdemo stopdemo5" alias recdemo5 "record xxx005; alias stopdemo stopdemo6" alias recdemo6 "record xxx006; alias stopdemo stopdemo7" alias recdemo7 "record xxx007; alias stopdemo stopdemo8" alias recdemo8 "record xxx008; alias stopdemo stopdemo9" alias recdemo9 "record xxx009; alias stopdemo stopdemo1" alias recdemo "recdemo1" alias stopdemo1 "stop; alias recdemo recdemo1" alias stopdemo2 "stop; alias recdemo recdemo2" alias stopdemo3 "stop; alias recdemo recdemo3" alias stopdemo4 "stop; alias recdemo recdemo4" alias stopdemo5 "stop; alias recdemo recdemo5" alias stopdemo6 "stop; alias recdemo recdemo6" alias stopdemo7 "stop; alias recdemo recdemo7" alias stopdemo8 "stop; alias recdemo recdemo8" alias stopdemo9 "stop; alias recdemo recdemo9" alias stopdemo "stopdemo1" bind "n" "recdemo" bind "m" "stopdemo" ----------- then if you want to add more "slots" to record w/o renaming just add more following the pattern. |
|
|
09-20-2007, 08:59 PM | #6 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Whoops, meant to add those but hurried off to watch Spurs
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|