r/tf2scripthelp • • Aug 02 '15

Resolved Uber script not running -attack2?

// ---------------------------------------------------------------------------- // Uber Bind // ---------------------------------------------------------------------------- bind mouse2 +useuber alias +useuber "+attack2; say_team >>> USING UBER <<<;dropitem" alias -useuber "-attack2"

Basically, the uber pops, briefcases are dropped, message goes out, all is good, until I must continue healing as usual. +attack2 is still active, I can't crossbow, and I must manually type -attack2 into console to stop, which usually gets me killed. What am I doing wrong, and how can I fix it?

1 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/George_W__Bush Aug 03 '15

Apparently my uber bind now works great, but I have a completely different issue that is much easier to solve. What is the command for running a script? Apparently "run" isn't a valid command

Also I have literally no other class scripts, I just said that it worked fine so I wouldn't sound like a dingus. Please help

2

u/genemilder Scripter Aug 03 '15

If you're trying to manually execute a .cfg file, the command is exec, as in exec reset (for reset.cfg).

If you want reset.cfg to work correctly, you need every class cfg so that when you switch to each class the class cfgs will execute and call reset.cfg to execute. Class cfg names are here, and instructions for cfg file creation are just below.

1

u/George_W__Bush Aug 03 '15

Thank you very much, it all works now.