URACorpse
Member
For anyone who wants a buy script either to use or as a guide for their own, here is mine. It includes at the end a nice walk/run toggle that I found. To use it just copy and paste into notepad and save it to your cstrike folder with any name but with the .cfg extension (NOT .txt!!!!). Then open your userconfig.cfg file and add a line at the end to execute it. Example: exec weapbuy.cfg
A good site for scripting in CS is here: http://www.counter-script.net/
[b said:Quote[/b] ]//KP_END "1" bound to "autobuy"
//KP_DOWNARROW "2" bound do "rebuy"
//Most binds also buy ammo, armor, defuser, etc.
//Buy deagle and ammo. Bound to KP_PGDN "3"
alias fbdeagle "deagle; secammo"
//Buy AWP and ammo. Bound to KP_Leftarrow "4"
alias fbawp "awp; primammo; secammo; vesthelm; vest; defuser"
//Buy M4 / AK47 and ammo. Bound to KP_Rightarrow "6"
alias fbm4 "m4a1; ak47; primammo; secammo; vesthelm; vest; defuser"
//Buy autosnipe. Bound to KP_Home "7"
alias fbautosnipe "g3sg1; sg550; primammo; secammo; vesthelm; vest; defuser"
//Buy no primary weapon. Bound to KP_5. Use if you like what primary weap you have and want to buy other stuff. "5"
alias noprim "primammo; secammo; vesthelm; vest; hegren; flash; defuser; flash; sgren"
//Buy shotgun. Bound to KP_PGUP "9"
alias fbshot "autoshotgun; primammo; secammo; vesthelm; vest; hegren; flash; defuser; flash; sgren"
//Buy Mac10. Bound to KP_UPARROW "8"
alias fbmac "mac10; tmp; primammo; secammo; vesthelm; vest; hegren; flash; defuser; flash; sgren"
//Buy duelies. Bound to KP_SLASH "/"
alias fbduel "elites; fiveseven; primammo; secammo"
//Buy scout. Bound to KP_INS "0"
alias fbscout "scout; primammo; secammo; vesthelm; vest; hegren; flash; defuser; flash; sgren"
//Buy night vision. Bound to KP_PLUS
alias fbnvg "nvgs"
//Binds
bind KP_HOME "fbautosnipe"
bind KP_UPARROW "fbmac"
bind KP_PGUP "fbshot"
bind KP_LEFTARROW "fbawp"
bind KP_5 "noprim"
bind KP_RIGHTARROW "fbm4"
bind KP_END "autobuy"
bind KP_DOWNARROW "rebuy"
bind KP_PGDN "fbdeagle"
bind KP_INS "fbscout"
bind KP_PLUS "fbnvg"
bind KP_SLASH "fbduel"
bind KP_MINUS ""
bind * ""
//Walktoggle Enhanced Script// by: submitted by: Luis Cypher
//Description: This script is a normal walktoggle script but it also automatically resumes running when you start firing (or if you press the button again). You //do not have to have a finger on the walk toggle key all the time any more.
alias "walktoggle" "walk"
alias run "-speed; bind mouse1 +attack; alias walktoggle walk"
alias walk "+speed; bind mouse1 +wakeup; alias walktoggle run"
alias +wakeup "+attack; -speed"
alias -wakeup "-attack; bind mouse1 +attack; alias walktoggle walk"
bind "CTRL" "walktoggle"
A good site for scripting in CS is here: http://www.counter-script.net/