
This is a list of the most common scripts, along with fully commented instructions on parts of the script. Feel free to use any of these scripts yourself.
alias +grenthrow "nomsg" // Hold down the key bound to 'grenthrow' to select the grenade, release to throw.
alias -grenthrow " "
// Throw Commands
alias throwflash "weapon_flashbang; flashmsg; w1; +attack"
alias throwhe "weapon_hegrenade; hemsg; w1; +attack"
alias throwsmoke "weapon_smokegrenade; smokemsg; w1; +attack"
alias finthrow "w1; -attack; w2; best_weapon"
// Grenade Throwing Messages
alias flashmsg "say_team Look Away! I am Throwing a Flashbang!" // Message that is said when a Flashbang Grenade is thrown using script. Change the bit after 'say_team' to your personalised message.
alias hemsg "say_team Stand Away! I am Throwing a HE Grenade!" // Message that is said when a HE Grenade is thrown using script. Change the bit after 'say_team' to your personalised message.
alias smokemsg "say_team Prepare for attack, I am Throwing a Smoke Grenade!" // Message that is said when a Smoke Grenade is thrown using script. Change the bit after 'say_team' to your personalised message.
// Grenade Cycler
alias gren_cycle "he_throw" // Means HE Grenade is selected first.
alias smoke_throw "d1; echo Grenade Selected: [Smoke] HE Flashbang Nothing; d0; alias +grenthrow throwsmoke; alias -grenthrow finthrow; alias gren_cycle he_throw" // Changes the 'grenthrow' alias to throw the Smoke grenade.
alias he_throw "d1; echo Grenade Selected: Smoke [HE] Flashbang Nothing; d0; alias +grenthrow throwhe; alias -grenthrow finthrow; alias gren_cycle flash_throw" // Changes the 'grenthrow' alias to throw the HE grenade.
alias flash_throw "d1; echo Grenade Selected: Smoke HE [Flashbang] Nothing; d0; alias +grenthrow throwflash; alias -grenthrow finthrow; alias gren_cycle no_throw" // Changes the 'grenthrow' alias to throw the Flashbang grenade.
alias no_throw "d1; echo Grenade Selected: Smoke HE Flashbang [Nothing] ; d0; alias +grenthrow nomsg; alias -grenthrow none; alias gren_cycle smoke_throw" // Changes the 'grenthrow' alias to throw no grenades.
bind "?" "+grenthrow" // Bind your key to throw the specified grenade.
bind "?" "gren_cycle" // Bind your key to cycle between the grenades.
I love this script and I personally use it and find it very useful. You need to hold the button bound to 'grenthrow' down, and release it to throw the grenade. Also, if you have none of that type of grenade, it will fire your primary weapon, so be careful!
bind "?" "+knife_slash" // Bind your key to execute a quick knife slash.
This is a useful script for those Up-Close fights.
bind "?" "+knife_stab" // Bind your key to execute a quick knife slash.
Useful script for those Up-Close fights ;)
bind "?" "weap_hand" // Bind your key to change the hand you hold your weapon in.
Really only for personal preference as which hand your weapon is in doesn't affect accuracy and where you can shoot.
bind "?" "+defuse"
A simple script that will defuse the bomb, as long as you are looking at it, and inform your team.
bind "?" "+plant_c4" // Bind your key to plant the C4, you have to have the C4 first though ;)
A very useful script, but obviously only on Bomb Plant/Defuse maps.
bind "?" "change_name" // Bind your key to enter your name.
A good script if you like to change your name often and don't want to keep opening console. It uses the 'messagemode' command to enable you to enter your name on-screen.
bind "?" "name_switch" // Bind your key to change to the first name on the list.
A good script if you regularly switch between names. Just change the names in there with the one's you want to use.
bind "?" "democommands" // Bind your key to start recording the demo, press this again to stop it.
With this script you can enter the name of your demo and it will record it for you. Pressing the button again will stop the demo.
bind "?" "taunt" // Bind your key to say the first taunt, again for the second, again for the third etc....
A simple script when you can't be bothered to type in all those taunts! By reading the 'Cycling' tutorial, you should be able to add more taunts.
bind "?" "fpsshow" // Bind your key to switch showing of FPS on, press again to switch off.
If you look closely, this is the script from my 'Toggling' tutorial ;D Very simple.
bind "?" "radar_switch" // Bind your key to switching the radar on, press again to switch it off.
bind "?" "change_volume" // Bind your key to enter your volume.
Easily change your volume with the cool 'messagemode' command!
Comments
g30rg3h
UKTerrorist
12:13 31/12/2001
21:04 4/1/2002
Damned Copy & Paste... [ Comment: Report | IP: Logged ]
21:54 28/1/2002
19:33 2/5/2002
thx very much in advance if u can help me [ Comment: Report | IP: Logged ]
11:10 25/12/2002
http://www.squizzastuff.pwp.blueyonder.co.uk/Sounds.html To change the file type I had to download a program to convert it, try http://www.webattack.com.
For the scroll guy:
bind "MWHEELDOWN" "invnext; +attack; -attack"
bind "MWHEELUP" "invprev; +attack; -attack"
I use that, though, you might need to put a wait command in, like +attack; wait; -attack. depends on your connection. [ Comment: Report | IP: Logged ]
00:17 3/1/2003
// fire mode alias. use CTRL to switch modes.
alias single "+attack; wait; -attack"
alias burst "+attack; wait; wait; wait; wait; wait; -attack"
alias switch "bind mouse1 burst; bind CTRL switch2; developer 1; echo burst fire; developer 0"
alias switch2 "bind mouse1 single; bind CTRL switch3; developer 1; echo single fire; developer 0"
alias switch3 "bind mouse1 +attack; bind CTRL switch; developer 1; echo full auto; developer 0"
you can change ctrl to any key and when you press it, it toggles between single shot, burst fire, and full auto! Its awesome when you use it with an autosniper [ Comment: Report | IP: Logged ]
18:07 20/1/2003
If you buy a weapon, it automaticly sas to your team, wich weapon you buyed? And if you reload (for exampel, Mp5) it also sas: Cover me! Im reloading my Mp5...
If you know it... can you please mail me at: g0_2_hell@hotmail.com !!! Thank you [ Comment: Report | IP: Logged ]
14:33 27/2/2003
04:32 11/3/2003
05:00 26/3/2003
04:54 30/3/2003
Here is a little one that I made from looking in the config.cfg and using a toggle tutorial
alias ngon "developer 1; echo Left Hand; developer 0; cl_righthand 0; alias ng ngoff"
alias ngoff "developer 1; echo Right Hand; developer 0; cl_righthand 1; alias ng ngon"
alias ng "ngon"
bind "alt" "ng"
bind "mouse3" "ng"
Why not use the simple one above? [ Comment: Report | IP: Logged ]
22:10 25/4/2003
it just works when I scroll up/down when im already with the knife
can any1 help me? [ Comment: Report | IP: Logged ]
18:08 1/5/2003
Have fun masterbating
19:42 2/6/2003
19:42 2/6/2003
19:44 2/6/2003
18:59 14/7/2003
http://dynamic4.gamespy.com/~counter-script/
if you want to know anything really [ Comment: Report | IP: Logged ]
21:56 23/7/2003
20:03 24/7/2003
It's not that hard. [ Comment: Report | IP: Logged ]
08:39 26/7/2003
But what I want...Is a button to toggle ONLY between primary and secondary , and not knife for instance...
Not Every1's An Idiot [ Comment: Report | IP: Logged ]
09:28 26/7/2003
alias "weapon1" "use weapon_m4a1; use weapon_ak47; use weapon_aug; use weapon_sg552; use weapon_awp; use weapon_g3sg1; use weapon_m249; use weapon_mac10; use weapon_mp5navy; use weapon_p90; use weapon_scout; use weapon_tmp; use weapon_xm1014; use weapon_m3"
alias "weapon2" "use weapon_deagle; use weapon_usp; use weapon_glock18; use weapon_elite; use weapon_p228"
alias "switch_toggle" "wep1"
alias "wep1" "weapon1; alias switch_toggle wep2"
alias "wep2" "weapon2; alias switch_toggle wep1"
and then bind "key" "switch_toggle" in console [ Comment: Report | IP: Logged ]
20:04 22/11/2003
23:30 22/1/2004
alias burst "+attack;-attack;+attack;-attack;+attack;-attack"
you might need to throw some waits in there. [ Comment: Report | IP: Logged ]
23:33 22/1/2004
//Voice Loopback Toggle
alias vlt vlon
alias vlon "alias vlt vloff; voice_loopback 1"
alias vloff "alias vlt vlon; voice_loopback 0" [ Comment: Report | IP: Logged ]
04:16 21/4/2004