P
puma-fs
Guest
This is the script for playing a WAV file when a key is pressed:
this bit goes into a separate config/autoexec file (its the actual script)-
alias extoggle exon
alias exon "voice_inputfromfile 1; voice_loopback 1; +voicerecord; alias extoggle exoff"
alias exoff "-voicerecord; voice_inputfromfile 0; voice_loopback 0; alias extoggle exon"
This bit goes into config.cfg just to specify a bind:
bind "p" "extoggle"
.
I have a stored wav file in my HL folder and when I try to EXEC a script (in my case its moo.cfg) it says that it cant execute it. When I saved the top bit into autoexec.cfg it did nothing and the script didnt work although in theory it must work. Anyone has any ideas?
this bit goes into a separate config/autoexec file (its the actual script)-
alias extoggle exon
alias exon "voice_inputfromfile 1; voice_loopback 1; +voicerecord; alias extoggle exoff"
alias exoff "-voicerecord; voice_inputfromfile 0; voice_loopback 0; alias extoggle exon"
This bit goes into config.cfg just to specify a bind:
bind "p" "extoggle"
.
I have a stored wav file in my HL folder and when I try to EXEC a script (in my case its moo.cfg) it says that it cant execute it. When I saved the top bit into autoexec.cfg it did nothing and the script didnt work although in theory it must work. Anyone has any ideas?