Counter-Strike 2

Counter-Strike 2

View Stats:
bind toggle multiple toggles
hi i play with my freind alot and weve made it so whenever i shoot, reload, change gun etc. it will say wat we are doing like changing mag when reloading and switching to secondary when using a pistol i was wondering if there was a way i could make it so i press a button to turn that off and on at will as it gets anoying sometimes and i dont want to go through changing it all the time
< >
Showing 1-13 of 13 comments
Omgwtfbbqkitten Jun 17, 2015 @ 1:33am 
You need to create two cfg files so that each one rebinds the same keys with the different binds you want, then make an alias toggle command to switch between them with a single button.

You can also do it using an alias with multiple rebinds.
Last edited by Omgwtfbbqkitten; Jun 17, 2015 @ 1:34am
AU CS IS GR8 M8 Jun 17, 2015 @ 1:38am 
thnx hope i can get to work
Omgwtfbbqkitten Jun 17, 2015 @ 1:41am 
If you post the binds your talking about real quick I may be able to help you with it before I go to sleep.
AU CS IS GR8 M8 Jun 17, 2015 @ 1:43am 
the commands i have set are
bind r "+reload; say Changing Mag.; -reload"
bind 1 "slot1; Switching To Primary.;
bind 2 "slot2; Switching To Sidearm.;
bind 3 "slot3; Going For The Knife.;
bind e "+use; Breaching.;
bind f "+lookatwepeon; say Check This Out.;
bind k "kill; say F*** This S*** Im Out.;
bind g "+drop; say This Is Of No Use To Me Now.;
bind l "+left; +back; say afk;
bind o "-left; -back; say back;
bind mouse1 "+attack; say Fireing.;
bind mouse2 "+attack2; Scoping In.;
bind space "+jump; say Boing.;
Omgwtfbbqkitten Jun 17, 2015 @ 2:03am 
Yeah that is alot of binds.

Do those binds even work? They don't look like they would work because they are missing the second quotation.

The easiest way to do it is to create two cfg files.

Name one something like binds1.cfg then copy/paste your binds into it.

bind r "+reload; say Changing Mag.; -reload" bind 1 "slot1; Switching To Primary.; bind 2 "slot2; Switching To Sidearm.; bind 3 "slot3; Going For The Knife.; bind e "+use; Breaching.; bind f "+lookatweapon; say Check This Out.; bind k "kill; say F*** This S*** Im Out.; bind g "+drop; say This Is Of No Use To Me Now.; bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack; say Fireing.; bind mouse2 "+attack2; Scoping In.; bind space "+jump; say Boing.;

Then make a second cfg called binds2.cfg and copy/paste these binds into it.

bind r "+reload" bind 1 "slot1" bind 2 "slot2" bind 3 "slot3" bind e "+use" bind f "+lookatwepeon" bind k "kill" bind g "+drop" bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack" bind mouse2 "+attack2" bind space "+jump"

Then you make the rebind toggle.

Copy/paste this into your autoexec.cfg. If you don't have one you have to create it.

alias say_tog say_on
alias say_on "exec binds1.cfg; alias say_tog say off"
alias say_off "exec binds2.cfg; alias say_tog say_on"

Then bind a key in console.

bind "yourkey" "say_tog"
Last edited by Omgwtfbbqkitten; Jun 17, 2015 @ 2:04am
AU CS IS GR8 M8 Jun 17, 2015 @ 2:05am 
thanks heaps and yeah suprisingly they do work and i had to add the ; followed by a space at the end or it would say 28 in some lines
AU CS IS GR8 M8 Jun 17, 2015 @ 2:07am 
is there any specific place i save the configs into?
Omgwtfbbqkitten Jun 17, 2015 @ 2:11am 
Yeah they go into Counterstrike Global Offensive > csgo > cfg folder.
AU CS IS GR8 M8 Jun 17, 2015 @ 2:11am 
ah ok thnx im new to this commands stuff
Omgwtfbbqkitten Jun 17, 2015 @ 2:24am 
Sure its np. Hopefully you get it working, If not I will check here tomorrow to see if you had any problems. Peace.
AU CS IS GR8 M8 Jun 17, 2015 @ 3:25am 
thanks for all your help i couldnt figure out how to keep it on one key but i did make it so that i can turn it off with one key and on again with another thanks again for your help
SwaRRo Oct 4, 2017 @ 8:45am 
Originally posted by Omgwtfbbqkitten:
Yeah that is alot of binds.

Do those binds even work? They don't look like they would work because they are missing the second quotation.

The easiest way to do it is to create two cfg files.

Name one something like binds1.cfg then copy/paste your binds into it.

bind r "+reload; say Changing Mag.; -reload" bind 1 "slot1; Switching To Primary.; bind 2 "slot2; Switching To Sidearm.; bind 3 "slot3; Going For The Knife.; bind e "+use; Breaching.; bind f "+lookatweapon; say Check This Out.; bind k "kill; say F*** This S*** Im Out.; bind g "+drop; say This Is Of No Use To Me Now.; bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack; say Fireing.; bind mouse2 "+attack2; Scoping In.; bind space "+jump; say Boing.;

Then make a second cfg called binds2.cfg and copy/paste these binds into it.

bind r "+reload" bind 1 "slot1" bind 2 "slot2" bind 3 "slot3" bind e "+use" bind f "+lookatwepeon" bind k "kill" bind g "+drop" bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack" bind mouse2 "+attack2" bind space "+jump"

Then you make the rebind toggle.

Copy/paste this into your autoexec.cfg. If you don't have one you have to create it.

alias say_tog say_on
alias say_on "exec binds1.cfg; alias say_tog say off"
alias say_off "exec binds2.cfg; alias say_tog say_on"

Then bind a key in console.

bind "yourkey" "say_tog"



how to bind another exec file like crosshair will it b same or the say_tog will change?
✪ gtstarwars May 3, 2019 @ 9:37pm 
Originally posted by |l||||ll|||l|l|:
Originally posted by Omgwtfbbqkitten:
Yeah that is alot of binds.

Do those binds even work? They don't look like they would work because they are missing the second quotation.

The easiest way to do it is to create two cfg files.

Name one something like binds1.cfg then copy/paste your binds into it.

bind r "+reload; say Changing Mag.; -reload" bind 1 "slot1; Switching To Primary.; bind 2 "slot2; Switching To Sidearm.; bind 3 "slot3; Going For The Knife.; bind e "+use; Breaching.; bind f "+lookatweapon; say Check This Out.; bind k "kill; say F*** This S*** Im Out.; bind g "+drop; say This Is Of No Use To Me Now.; bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack; say Fireing.; bind mouse2 "+attack2; Scoping In.; bind space "+jump; say Boing.;

Then make a second cfg called binds2.cfg and copy/paste these binds into it.

bind r "+reload" bind 1 "slot1" bind 2 "slot2" bind 3 "slot3" bind e "+use" bind f "+lookatwepeon" bind k "kill" bind g "+drop" bind l "+left; +back; say afk; bind o "-left; -back; say back; bind mouse1 "+attack" bind mouse2 "+attack2" bind space "+jump"

Then you make the rebind toggle.

Copy/paste this into your autoexec.cfg. If you don't have one you have to create it.

alias say_tog say_on
alias say_on "exec binds1.cfg; alias say_tog say off"
alias say_off "exec binds2.cfg; alias say_tog say_on"

Then bind a key in console.

bind "yourkey" "say_tog"



how to bind another exec file like crosshair will it b same or the say_tog will change?


make an alias in autoexec

bind "T" "crosshair1"

alias "crosshair1" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 8; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair2"

alias "crosshair2" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 19; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair3"

alias "crosshair3" "cl_crosshairstyle 4; cl_crosshaircolor 5; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255; cl_enablecrosshairalpha 1; cl_crosshairalpha 255; cl_crosshairdot 1; cl_crosshairsize 26; cl_crosshairthickness 0.5; cl_crosshairgap -5; cl_crosshair_drawoutline 1; bind "T" "crosshair1"

basically make a different alias for every crosshair and end that alias with bind "T" "crosshair2" then crosshair3 and so on so when you press T it puts on crosshair 1, then binds T to crosshair 2 so when you press T it puts on crosshair2, then binds T to crosshair 3 and etc.

remember CVARs that don't change, only need to be set once so in this example the size is only variable changing so it would look like:

bind KEY "toggle cl_crosshairsize 8 19 26"
Last edited by ✪ gtstarwars; May 3, 2019 @ 9:38pm
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Jun 17, 2015 @ 1:25am
Posts: 13