Scripting Faq

MintmanMintman Join Date: 2003-05-30 Member: 16866Members
<b>What is a script?</b>
A script is a sequence of one or more commands.

<b>What is a bind?</b>
A bind is a command, which you use to assign a script to a key.

<b>What is an alias?</b>
An alias is used to give a script an easy to remember name. It saves you typing out the same thing many times and makes your scripts look neater.

<b>Can anyone learn to script?</b>
Yes, it is a very basic form of programming that anyone can learn to do. Search the forums for scripting tutorials, there are a few around. Search the entire forum though as most of them haven't been moved to this section yet.

<b>How do I make a script myself?</b>
First, create a file called ‘userconfig.cfg’ in your NS folder, this is by default located at ‘C:\Program Files\Valve\Steam\SteamApps\<your email>\half-life\ns\’. Then open this file in notepad or a similar basic text editor. You can then write your scripts in this file and use them in-game.

<b>I want a script that can do x, y and z</b>
Swing by my thread for script help at <a href='http://www.unknownworlds.com/forums/index.php?showtopic=87104' target='_blank'>http://www.unknownworlds.com/forums/index....showtopic=87104</a> and I’ll do my best. Be aware though that scripts cannot be made to do absolutely everything, they cannot aim for you and they can also be quite inflexible in their use. Often it is better to use a combination of simple scripts rather than one script that does the whole thing.

Comments

Sign In or Register to comment.