Exec

Usage
Typing /exec [FILENAME] at the console will allow you to execute a script. This is a potentially very powerful feature because it allows you to bind a whole set of commands to just one key. Some Tremulous clients even have a scripting language with conditions etc.

An example of how to use it in a meaningful way: You can make yourself Binds to join the Alien or Human team, and instead of just binding the key to the command "team human", you could bind it to "exec mybinds\team_humans.cfg". In that file, you could change the keyboard and mouse binds to best suit your Alien or Human needs and then, of course, also join the team. In this example, I used the new subfolder "mybinds" that you could create yourself to keep all your scripts neatly in one place.

Another example of how to use it: If you're currently building, you might want to use the mouse scroll wheel to select the buildable you want to make so that it is immediately visible in front of you as the red/green ghost. This can be achieved with the set and vstr commands. But to initiate these mouse bind changes in the first place, you'd want to use the exec command.

The scripts are stored in the base folder tree. So, if you have an installation path like "R:\games\Tremulous", then the scripts that you could execute will reside inside of this path in the "base" folder or one of its subfolders.