r/Tf2Scripts • • Dec 30 '18

Question I need help with this script [Question/Request]

I have a toggle mic scrpt because I'm a DJ in the Neogenesis trade servers, but when I try to toggle it, my console says "Unknown command: vtoggle"

I don't know why this is happening when it has worked before.

If one of you could actually just send me a script that would be amazing, as I don't have much knowledge in scripting and I'm just using the owner's script.

Here is the script, please let me know what's wrong and please help me fix this issue.

alias vtoggle "von"alias von "+voicerecord; voice_loopback 1; alias vtoggle voff"alias voff "-voicerecord; voice_loopback 0; alias vtoggle von"bind F1 "vtoggle"

4 Upvotes

25 comments sorted by

View all comments

Show parent comment

3

u/KatenGaas Dec 31 '18

That would work for keys (`bind w` would return something), but for an alias I think `alias vtoggle` would just empty the alias, not 100% sure though.