Jump to content

[CS][Share] 11 of the most used scripts (explained)


Recommended Posts

Posted

#1 CyCLe ScR!pT

 

 

This script is used to cycle through different settings and back to the first setting in a big loop. Pressing the key once will execute the first setting change, pressing it again will execute the second setting change, etc, etc. Here is the outline for a general Cycle Script (read the notes in the parenthesis for help):

 

// Alias that is bound

 

alias "cycle" "cyclesetting1" // This will start the script executing the first setting

 

// Cycle Setting 1 and Cycle to 2

 

alias "cyclesetting1" "(command for setting1); alias cycle cyclesetting2 (alias cycled to 2)"

 

// Cycle Setting 2 and Cycle to 3

 

alias "cyclesetting2" "(command for setting2); alias cycle cyclesetting3 (alias cycled to 3)"

 

// Cycle Setting 3 and Cycle to 4

 

alias "cyclesetting3" "(command for setting3); alias cycle cyclesetting4 (alias cycled to 4)"

 

// Cycle Setting 4 and Cycle back to 1

 

alias "cyclesetting4" "(command for setting4); alias cycle cyclesetting1 (alias cycled to 1)"

 

// Cycle Bind

 

bind "your key" "cycle" // Bind a key to the cycle script

 

Now that you have seen the outline of the Cycle Script, we will use The Netgraph for this example. The NetGraph Cycle Script.

Step #1 - Making the bound Alias

 

We start with the basic alias that you will bind a key to, and execute your first setting. You simply start the line with (alias), then the name of the alias, in this case (graph), then in quotes, what you want this alias to do (graph1).

 

alias graph "graph1"

 

 

Step #2 - Making the First Setting Alias

 

Ok, now we need to do the first Setting Alias. So first we start the line with (alias), then the name of the alias for the first setting, we will use (graph1), then we start the command for (graph1) which is (net_graph 1), then add the separator, a semi-colon. Now we have to let the game know what we want the alias to do the next time the alias is executed. So we change the alias from (graph1) to (graph2).

 

alias graph1 "net_graph 1; alias graph graph2"

 

 

Step #3 - Making the Second Setting Alias

 

Same as the First Setting Alias. We start the line with (alias), then the name of the alias for the Second Setting, we will use (graph2), then we start the command for (graph2) which is (net_graph 2), then add the separator, a semi-colon. Now we have to let the game know what we want the alias to do the next time the alias is executed. So we change the alias from (graph2) to (graph3).

 

alias graph2 "net_graph 2; alias graph graph3"

 

 

Step #4 - Repeat for Remaining Setting Aliases

 

Repeat step #3 for the rest of your settings. On the last setting you just need to make it change from it back to the first setting (noted in Bold) in a big loop.

 

alias graph3 "net_graph 3; alias graph graph4"

alias graph4 "net_graph 0; alias graph graph1"

 

Step #5 - Binding the Alias

 

Now we just have to bind the alias to a key. Remember to bind the key to the first alias, which in this example is (graph).

 

// Lines that go in your autoexec.cfg or other .cfg file

 

bind "x" "graph"

 

 

Step #6 - Placing the Alias and Bind

 

You must place the Aliases in your autoexec.cfg file or other user-created .cfg file. If you don't understand what I am talking about. See the reference to Files in the Basics Tutorial: here. Finally you can open up your config.cfg file located in your cstrike directory and scroll down to the key you want the Alias bound to. You make the line look like the bind example below and save the file. You are done!

 

// Lines that go in your autoexec.cfg or other .cfg file

 

alias graph "graph1"

alias graph1 "net_graph 1; alias graph graph2"

alias graph2 "net_graph 2; alias graph graph3"

alias graph3 "net_graph 3; alias graph graph4"

alias graph4 "net_graph 0; alias graph graph1"

 

// Bind Example

 

bind "x" "graph"

CrEdItS : FPSBaNaNa TeaM

 

 

#2 MeTa B!nD

 

You must place the Aliases in your autoexec.cfg file or other user-created .cfg file. If you don't understand what I am talking about. Check out my Basics page here. Finally you can open up your config.cfg file located in your cstrike directory and scroll down to the key you want the Alias bound to. You make the line look like the bind example below and save the file. You are done!

 

// Lines that go in your autoexec.cfg or other .cfg file

 

alias +go "radio2; wait; ms1" //Alias for GoGoGo//

alias -go "mclr"

alias +sto "radio2; wait; ms5" //Alias for Storm the Front//

alias -sto "mclr"

alias +cov "radio1; wait; ms1" //Alias for Cover Me//

alias -cov "mclr"

alias +rog "radio3; wait; ms1" //Alias for Roger-Affirmative//

alias -rog "mclr"

alias +neg "radio3; wait; ms8" //Alias for Negative//

alias -neg "mclr"

alias +ene "radio3; wait; ms2" //Alias for Enemy Spotted//

alias -ene "mclr"

alias +hol "radio1; wait; ms3" //Alias for Hold this Position//

alias -hol "mclr"

alias +fal "radio2; wait; ms2" //Alias for Fall Back//

alias -fal "mclr"

alias +sec "radio3; wait; ms4" //Alias for Sector Clear//

alias -sec "mclr"

alias +tak "radio1; wait; ms6" //Alias for Taking Fire//

alias -tak "mclr"

alias +meta1 "bind f1 +ene; bind f2 +hol; bind f3 +fal; bind f4 +sec; bind f5 +tak"

alias -meta1 "bind f1 +go; bind f2 +sto; bind f3 +cov; bind f4 +rog; bind f5 +neg"

 

 

// Bind Example

 

bind f1 "+go"

bind f2 "+sto"

bind f3 "+cov"

bind f4 "+rog"

bind f5 "+neg"

bind alt "+meta1"

 

 

You can do this for several keys. This is also helpful when you rebind your mouse keys to do extra functions like make mouse2 do (+attack2 and +reload). Give it a try.

 

 

By: SxRxRnRThis e-mail address is being protected from spam bots, you need JavaScript enabled to view it

 

 

#3 PrEsS & ReLeAsE T0ggLe ScR!pT

This script is a combination of two other Script types, as you can see by the title. You can use it to toggle a Press Release Script on and off. You turn it on and off with one key, and execute the +/- alias with another key of your choice.

 

// The Press Alias (+)

 

alias "+pressrel" "(1st command executed by key press); (2nd command executed by key press)"

 

// The Release Alias (-)

 

alias "-pressrel" "(1st command executed by key release); (2nd command executed by key press)"

 

// The Press & Release Toggle

 

alias "pressrel" "pressrel_on" // This is the Command that starts the toggle

 

alias "pressrel_on" "(bind your key +pressrel; alias pressrel pressrel_off)" // Name of Toggle On Alias with Bind, +/- alias and reset alias

 

alias "pressrel_off" "(bind your key original command; alias pressrel pressrel_on)" // Name of the Toggle Off Alias with Bind and reset alias

 

// The Press/Release Toggle Bind

 

bind "your key" "pressrel"

 

Now that you have seen the outline of the Script, we will use The Crouch Jump for an example. The Crouch Jump Script with Toggle On and Off.

 

Step #1 - Making the Key Press (+) Alias

 

Ok, now we need to do the Key Press (+) alias. So first we start the line with (alias), then the name of the alias for the crouch jump, we will use (+cjump), then we start the command for Crouch Jump with (+jump), then add the separator, a semi-colon. Now we add the second command to be executed during key press, which is (+duck).

 

alias +cjump "+jump; +duck"

 

Step #2 - Making the Key Release (-) Alias

 

We start the line with (alias), then the name of the alias for Crouch Jump, but now we use a minus sign (-), then we start the command for (-cjump) which would be (-jump), then add the separator, a semi-colon. Then complete the (-cjump) alias with the last command, the (-duck).

 

alias -cjump "-jump; -duck"

 

Step #3 - Toggling the Press Release Alias

 

Now we use the above aliases and add a Toggle to them. This step is where the differences occur between a standard Press Release and a Toggle one. Notice in bold below, you have to designate a key that you want the +/- bound to and the original command for that key (This is critical for this script to work). In this example, I use the +cjump for the +/- and +jump for the original. This is what key you are toggling on and off.

 

alias cjump "cjump_on"

 

alias cjump_on "bind space +cjump; alias cjump cjump_off"

 

alias cjump_off "bind space +jump; alias cjump cjump_on"

 

Step #4 - Binding the Alias

 

Now we just have to bind the alias to a key. You have to bind the Toggle in this case. This will allow you to toggle the +/- alias on and off as you please.

 

bind "f1" "cjump"

 

Step #5 - Placing the Alias and Bind

 

You must place the Aliases in your autoexec.cfg file or other user-created .cfg file. If you don't understand what I am talking about. Check out the Basics page here. Finally you can open up your config.cfg file located in your cstrike directory and scroll down to the key you want the Alias bound to. You make the line look like the bind example below and save the file. You are done!

 

// Lines that go in your autoexec.cfg or other .cfg file

 

alias +cjump "+jump; +duck"

alias -cjump "-jump; -duck"

alias cjump "cjump_on"

alias cjump_on "bind space +cjump; alias cjump cjump_off"

alias cjump_off "bind space +jump; alias cjump cjump_on"

 

// Bind Example

 

bind "f1" "cjump"

CrEdI!tS : GH TeaM!

 

#4 T!mE LeFT ScR!pT

Description:  This Script tells you the timeleft on the current round.

 

alias time "timeleft"

 

bind "CAPSLOCK" "time"

CrEd!TsS: Me ;D

 

#5 ClAn MaTcH BuY ScR!pT

Description:  Buys items in Priority for a Clan match.

//Clan Match Buyscript by Scion

//Designed for clan matches.

 

//Aliases

alias "longwait" "wait; wait; wait; wait; wait"

alias "ms1" "menuselect 1"

alias "ms2" "menuselect 2"

alias "ms3" "menuselect 3"

alias "ms4" "menuselect 4"

alias "ms5" "menuselect 5"

alias "ms6" "menuselect 6"

alias "ms7" "menuselect 7"

alias "ms8" "menuselect 8"

alias "ms9" "menuselect 9"

alias "ms10" "menuselect 10"

alias "finish" "slot10; longwait; longwait; slot10"

 

//Equipment

alias "armour" "buyequip; ms2; buyequip; ms1"

alias "henade" "buyequip; ms4"

alias "flashnade" "buyequip; ms3"

alias "defuser" "buyequip; ms6"

alias "primammo" "buyammo1; buyammo1; buyammo1; buyammo1"

alias "secammo" "buyammo2; buyammo2; buyammo2; buyammo2; buyammo2"

 

//Guns

alias "buy_mp5" "buy; ms3; ms1"

alias "buy_m4ak" "buy; ms4; ms1; buy; ms4; ms3"

alias "buy_sigaug" "buy; ms4; ms2; buy; ms4; ms4"

alias "buy_awp" "buy; ms4; ms6"

 

//Buy Aliases

alias "firstround" "flashnade; henade; defuser; secammo; finish"

alias "inv_replenish" "primammo; armour; defuser; henade; flashnade; flashnade; finish"

alias "mp5_buy" "buy_mp5; inv_replenish; finish"

alias "m4ak_buy" "buy_m4ak; inv_replenish; finish"

alias "sigaug_buy" "buy_sigaug; inv_replenish; finish"

alias "awp_buy" "buy_awp; inv_replenish; finish"

 

//Binds

bind "]" "mp5_buy"

bind "[" "m4ak_buy"

bind "p" "sigaug_buy"

bind "'" "awp_buy"

bind "/" "firstround"

bind "l" "inv_replenish"

ReAl CrEd!tS [because many people claim to be theirs] : NZa*Scion

 

#6 CoNsOlE + PaSsWoRd ScR!pT

Description:  If you have admin rights to a server and must enter your password before executing commands, then this will enter your password whenever you press the tild key(~) so that you are ready to type commands.

You will need to change YOURPASSHERE to your password.

 

 

alias "consolepass" "admin_password YOURPASSHERE; toggleconsole"

 

bind "~" "consolepass"

Credits : GH TEAM

 

#7 ChAnGe VaLuE ScR!pT

Description: THIS IS THE ULTIMATE TOOL FOR CHANGING VALUES DURING GAME PLAY! WITH THIS SCRIPT YOU CAN CHANGE YOUR VOLUME, INTERP, RATE, UPDATERATE AND CMD RATE ALMOST AS EASY AS YOU RELOAD OR JUMP!

 

 

bind "" "changecmd"

bind "" "nextvalue"

 

alias "devoff" "developer 0"

alias "devon" "developer 1"

 

alias "vnextvalue" "vnextvalue1"

alias "vnextvalue1" "alias vnextvalue vnextvalue2; volume 0.25; devon; echo volume 0.25 [MINIMUM VOLUME]; devoff"

alias "vnextvalue2" "alias vnextvalue vnextvalue3; volume 0.50; devon; echo volume 0.50 [LOW VOLUME]; devoff"

alias "vnextvalue3" "alias vnextvalue vnextvalue4; volume 0.75; devon; echo volume 0.75 [MEDIUM VOLUME]; devoff"

alias "vnextvalue4" "alias vnextvalue vnextvalue5; volume 1.00; devon; echo volume 1.00 [MEDIUM VOLUME]; devoff"

alias "vnextvalue5" "alias vnextvalue vnextvalue6; volume 1.25; devon; echo volume 1.25 [MEDIUM VOLUME]; devoff"

alias "vnextvalue6" "alias vnextvalue vnextvalue7; volume 1.50; devon; echo volume 1.50 [HIGE VOLUME]; devoff"

alias "vnextvalue7" "alias vnextvalue vnextvalue1; volume 1.75; devon; echo volume 1.75 [MAX VOLUME]; devoff"

 

alias "enextvalue" "enextvalue1"

alias "enextvalue1" "alias enextvalue enextvalue2; ex_interp 0.10; devon; echo interp 0.10 [sTANDAR VALUE]; devoff"

alias "enextvalue2" "alias enextvalue enextvalue3; ex_interp 0.07; devon; echo interp 0.07 [iLLEGAL VALUE]; devoff"

alias "enextvalue3" "alias enextvalue enextvalue4; ex_interp 0.05; devon; echo interp 0.05 [iLLEGAL VALUE]; devoff"

alias "enextvalue4" "alias enextvalue enextvalue5; ex_interp 0.02; devon; echo interp 0.02 [iLLEGAL VALUE]; devoff"

alias "enextvalue5" "alias enextvalue enextvalue1; ex_interp 0.01; devon; echo interp 0.01 [iLLEGAL VALUE]; devoff"

 

alias "rnextvalue" "rnextvalue1"

alias "rnextvalue1" "alias rnextvalue rnextvalue2; rate 5000; devon; echo rate 5000 [LOW RATE]; devoff"

alias "rnextvalue2" "alias rnextvalue rnextvalue3; rate 7500; devon; echo rate 7500 [MEDIUM RATE]; devoff"

alias "rnextvalue3" "alias rnextvalue rnextvalue4; rate 10000; devon; echo rate 10000 [MEDIUM RATE]; devoff"

alias "rnextvalue4" "alias rnextvalue rnextvalue5; rate 15000; devon; echo rate 15000 [HIGE RATE]; devoff"

alias "rnextvalue5" "alias rnextvalue rnextvalue1; rate 25000; devon; echo rate 25000 [LAN RATE]; devoff"

 

alias "pnextvalue" "pnextvalue1"

alias "pnextvalue1" "pnextvalue pnextvalue2; cl_updaterate 55; cl_cmdrate 66; devon; echo [HIGE updaterate & cmdrate for good servers ONLY]; devoff"

alias "pnextvalue2" "pnextvalue pnextvalue3; cl_updaterate 40; cl_cmdrate 45; devon; echo [hige-med updaterate & cmdrate for good/normal servers];devoff"

alias "pnextvalue3" "pnextvalue pnextvalue4; cl_updaterate 32; cl_cmdrate 37; devon; echo [low-med updaterate & cmdrate for bad/normal servers];devoff"

alias "pnextvalue4" "pnextvalue pnextvalue1; cl_updaterate 25; cl_cmdrate 30; devon; echo [LOW updaterate & cmdrate for BAAAAD servers ONLY];devoff"

 

alias "changecmd" "changecmd1"

alias "changecmd1" "alias changecmd changecmd2; alias nextvalue vnextvalue; devon; echo [CHANGE VOLUME]; devoff"

alias "changecmd2" "alias changecmd changecmd3; alias nextvalue enextvalue; devon; echo [CHANGE INTERP]; devoff"

alias "changecmd3" "alias changecmd changecmd4; alias nextvalue rnextvalue; devon; echo [CHANGE RATE]; devoff"

alias "changecmd4" "alias changecmd changecmd1; alias nextvalue pnextvalue; devon; echo [CHANGE updaterate & cmdrate]; devoff"

 

CreDiTs : GHZ TeaM [GH Team Is The same ;D]

 

#8 bUy ScR!PT

 

//Buy Script v1.5

//whoamiforreal

//p/s: for use with CS v1.6

 

//keys

alias ms1 "menuselect 1"

alias ms2 "menuselect 2"

alias ms3 "menuselect 3"

alias ms4 "menuselect 4"

alias ms5 "menuselect 5"

alias ms6 "menuselect 6"

alias ms7 "menuselect 7"

alias ms8 "menuselect 8"

alias ms9 "menuselect 9"

alias mcl "slot10"

 

//weapons

alias +des "buy; ms1; ms4"

alias -des "mcl"

alias +mp5 "buy; ms3; ms2"

alias -mp5 "mcl"

alias +ak "buy; ms4; ms2"

alias -ak "mcl"

alias +car "buy; ms4; ms3"

alias -car "mcl"

alias +b5 "buy; ms4; ms4"

alias -b5 "mcl"

alias +at "buy; ms4; ms5"

alias -at "mcl"

alias +act "buy; ms4; ms6"

alias -act "mcl"

 

//ammos

alias +am1 "buy; ms6"

alias -am1 "mcl"

alias +am2 "buy; ms7"

alias -am2 "mcl"

 

//equipments

alias +ves "buy; ms8; ms2"

alias -ves "mcl"

alias +fla "buy; ms8; ms3"

alias -fla "mcl"

alias +he "buy; ms8; ms4"

alias -he "mcl"

alias +kit "buy; ms8; ms7"

alias -kit "mcl"

 

//full weapons

alias +mp5f "+mp5; +ves; +am1; +am2"

alias -mp5f "mcl"

alias +akf "+ak; +ves; +am1; +am2"

alias -akf "mcl"

alias +carf "+car; +ves; +am1; +am2"

alias -carf "mcl"

alias +b5f "+b5; +ves; +am1; +am2"

alias -b5f "mcl"

alias +atf "+at; +des; +ves; +am1; +am2"

alias -atf "mcl"

alias +actf "+act; +des; +ves; +am1; +am2"

alias -actf "mcl"

 

//full grenades

alias +grens "+fla; +fla; +he"

alias -grens "mcl"

alias +grenskit "+fla; +fla; +he; +kit"

alias -grenskit "mcl"

 

//binds

bind "f1" "+mp5f"

bind "f2" "+akf"

bind "f3" "+carf"

bind "f4" "+b5f"

bind "f5" "+atf"

bind "f6" "+actf"

bind "f7" "+grens"

bind "f8" "+grenskit"

CreDits : FpS BaNaNa

 

//Modified colors, for reading purposes. -- blooddog

Posted

1st post was too long so it needed 1 more post :X. Im not spamming you newbz :X

 

#10 FaSt WeApOn Sw!tCh ScR!pT

Description:  THIS SCRIPT WILL ALLOW YOU TO SELECT WHAT SORT OF SWITCHING YOU WANT TO DO. FOR EXAMPLE, IF YOU WANT TO GO FROM NORMAL GUN TO PISTOL, SELECT IT (IT IS DEFAULT) AND THEN PRESS YOUR KEY (MOUSE3 IN THIS CASE) AND IT SWITCHES TO THE PISTOL, THEN HITTING MOUSE3 AGAIN GOES BACK TO MAIN GUN. YOU CAN SELECT IF YOU WANT TO CANGE THIS, FOR EXAMPLE IF YOU HAVE A PISTOL AND WANT TO SWITCH TO KNIFE AND NOT USE MAIN GUN AT ALL, OR SWITCH BETWEEN ALL WEAPONS. "l" SELECTS WHAT TYPE OF SWITCHING IS PERFORMED.

 

 

alias go_slot1 "weapon_ak47; weapon_aug; weapon_g3sg1; weapon_m249; weapon_m4a1; weapon_m3; weapon_mac10; weapon_mp5navy; weapon_p90; weapon_scout; weapon_sg552; weapon_sg550; weapon_ump45; weapon_tmp; weapon_xm1014; weapon_awp"

alias go_slot2 "weapon_deagle; weapon_usp; weapon_glock18; weapon_p228; weapon_elite; weapon_fiveseven"

alias go_slot3 "weapon_knife"

alias pist_kni_gun "gun_pist_pist_on"

alias switchweapmsg1 "developer 1; echo FastSwitch Mode:: Gun-Pistol; developer 0"

alias switchweapmsg2 "developer 1; echo FastSwitch Mode:: Pistol-Knife; developer 0"

alias switchweapmsg3 "developer 1; echo FastSwitch Mode:: Gun-Pistol-Knife; developer 0"

alias selectswitch "pist_knife"

alias gun_pist "alias pist_kni_gun gun_pist_pist_on; alias selectswitch pist_knife; go_slot1; switchweapmsg1"

alias pist_knife "alias pist_kni_gun pist_knife_pist_on; alias selectswitch gun_pist_knife; go_slot2; switchweapmsg2"

alias gun_pist_knife "alias pist_kni_gun gun_pist_knife_pist_on; alias selectswitch gun_pist; go_slot1; switchweapmsg3"

alias gun_pist_pist_on "go_slot2; alias pist_kni_gun gun_pist_gun_on"

alias gun_pist_kni_on ""

alias gun_pist_gun_on "go_slot1; alias pist_kni_gun gun_pist_pist_on"

alias pist_knife_pist_on "go_slot2; alias pist_kni_gun pist_knife_kni_on"

alias pist_knife_kni_on "go_slot3; alias pist_kni_gun pist_knife_pist_on"

alias pist_knife_gun_on ""

alias gun_pist_knife_pist_on "go_slot2; alias pist_kni_gun gun_pist_knife_kni_on"

alias gun_pist_knife_kni_on "go_slot3; alias pist_kni_gun gun_pist_knife_gun_on"

alias gun_pist_knife_gun_on "go_slot1; alias pist_kni_gun gun_pist_knife_pist_on"

 

bind "l" "selectswitch"

bind "MOUSE3" "pist_kni_gun"

Credits : FpS Banana

 

#11 ScOuT WhOrE ScR!pT

 

Description:  Uses simple walk command infront before firing to greatly improve accuracy with the scout while on the move.

 

alias d1 "developer 1"

alias d0 "developer 0"

alias +whore "+speed;+attack"

alias -whore "-attack;-speed"

alias whoreon "bind mouse1 +whore;d1;echo ::ScouT WhorE: 0n::;d0;alias whore_switch whoreoff"

alias whoreoff "bind mouse1 +attack;d1;echo ::ScouT Whore: 0ff::;d0;alias whore_switch whoreon"

alias whore_switch "pwnon"

 

bind END "whore_switch"

Credits : GH TeaM

 

More to come...

 

PS: sorry for the double post again >.<

//Modified colors, for reading purposes. -- blooddog

  • 3 weeks later...
Posted

Please change these colors! Nobody can read that blue or red.

 

But thank you anyway for these posting, because its very usefull for newbies.

 

But that script could be shorten:

 

bind CAPSLOCK timeleft

  • 3 weeks later...
  • 3 months later...
  • 2 weeks later...
Posted

I love pink color =D Anyhow lawl i didn't really know there is scripts for some things But guess the gamers are stronger than my beliefs .

 

PS: I use the press & release toggle script it is a lot helpful i also use few buy scripts ^^.

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...