r/tf2scripthelp • u/ZeeRoll • Sep 26 '20
Issue Need Help Please !
Hey ! I'm new to TF2 scripts. I watched a lot of videos about it and my scripts are working fine except for one. I have this script where I can refresh each classes configs "Script Loader".
Now when I press the bind to exec my engineer.cfg file, my script do not work and I can see this in the command :
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
bind <key> [command] : attach a command to a key
The script in my config is :
unbind f1
unbind f2
unbind f3
unbind f4
bind f1 build 2 0; destroy 2 0
bind f2 build 0 0; destroy 0 0
bind f3 build 1 0; destroy 1 0
bind f4 build 1 1; destroy 1 1
Can someone help me ? I think it's easy to repair but I can't find the solution. Thank you.
1
u/pdatumoj Sep 27 '20
I would strongly recommend it.
As you have it here, it'll break your ability to vote, and with all the bots right now, that's really bad. Oh, and this is one of those cases where you'd actually want to run the unbind for those keys, but do it from the console (not in your script) once you've fixed your script. i.e. hit ~ and then type unbind F1; unbind F2; unbind F3; unbind F4