Instructions
Open a text editor such as Windows Notepad and create a new document.
Add any "alias" commands you want to use in the script. Start on a blank line and only add one command per line. For example, add the following text to have an "equip" alias automatically buy all your equipment at the beginning of a game:
alias "equip" "primammo; secammo; vest; hegren; flash; defuser"
The "equip" alias will now be available to future "bind" commands.
Save the file as "userconfig.cfg" in whichever of the two following directories exist on your system:
C:\Program Files\Steam\SteamApps\your_email\Counter-Strike\Cstrike
or
C:\Program Files\Steam\SteamApps\Your_email\Counter-Strike\Cstrike_your_country\
Replace "your_email" and "Cstrike_your_country" with your information.
Close the "userconfig.cfg" file.
Open the "config.cfg" file in the same text editor. The file is located in the same folder as where you just saved the "userconfig.cfg" file.
Add any "bind" commands you want to use in the script. For example, add the following text on a blank line:
bind f1 "ak47; m4a1; glock; equip"
This makes the "f1" key automatically buy a "Kalashnikov AK-47" or a "Colt M4A1 Carbine," depending if you are a terrorist or counter-terrorist, and a "Glock18 Select Fire." It also executes the previously defined "equip" alias from the "userconfig.cfg" file.
Type "exec userconfig.cfg" at the bottom of the file if it isn't already there. This directs CS 1.6 to open your "userconfig.cfg" file.
Save the file and close the text editor.
Open CS 1.6 and start a game to use your new script.