Wolfenstein Enemy Territory

Learn Wolfenstein ET from the Inside Out!

TwitterMy ImageMy Image
admin On April - 13 - 2010
The vstr command is a shortcut that enables you to use 1 small word of your preference all over the same document.

For example, i want to echo something every time i change weapons with the keyboard.
Instead of typing “;echo Weapon changed” after every line of your weaponbank binds, we will create the vstr for this.

To create the vstr we will need to choose a name for it.
Let’s call it: wc (weaponchange)
To set the vstr you’ll have to type the following in this case:
set wc “echo weapon changed”

Now you only have to add “; vstr wc” after each line of your weaponbank binds.
In this example it wasn’t that necessary, but when you have a huge list of commands that need to be executed every time again you can get your cfg smaller and cleaner with a simple vstr.

Next Chapter

Be the first to like.

GD Star Rating

The vstr Command, 5.0 out of 5 based on 2 ratings

Categories: Featured, Scripting Guide

About Us

This is the unofficial site of Wolfenstein Enemy Territory. You will be able to find resources like cool screenshots and configs here, but also tutorials to get the maximum out of your game. If there is anything you wish to ask or if you have any advice... Just post a comment on an article or contact us through the Contact form. V57!

Recent Comments