PDA

View Full Version : CS Scripting



tandoc
December 4th, 2002, 21:42
I need help - this doesn't work 4 me when i sace as autoexec.cfg in the cstrike folder



echo[NCS] InVALiD's Counter-Strike Script
//Compiled from Counter-Script
echo
echo Keys to Remember:
echo
echo O: Plant bomb and ask for cover
echo D: Defuse bomb and ask for cover
echo R: Reload and ask for cover
echo N: All Grenades that can be carried
echo P: Buys Primary Ammo
echo L: Buys Secondary Ammo

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 mclr "slot10; wait; wait; slot10"

alias "+prev" "invprev;wait;+attack"
alias "+next" "invnext;wait;+attack"
bind "mwheelup" "+prev"
bind "mwheeldown" "+next"

alias +bomb "weapon_c4; +duck; +attack; wait; radio1; menuselect 1; slot10; say_team Cover me I'm planting the bomb"
alias -bomb "-duck; -attack; slot10"
bind "o" "+bomb"

alias +defuse "+use; radio1; menuselect 1; slot10; say_team Cover me I'm defusing the bomb"
alias -defuse "-use; slot10"
bind "d" "+defuse"

alias +recov "+reload; wait; -reload; radio1; menuselect 1; say_team cover me I'm reloading"
alias -recov "slot10; wait; wait; slot10"
bind "r" "+recov"

alias +primary "buy; ms6"
alias -primary "mclr"
bind "p" "+primary"

alias +secondary "buy; ms7"
alias -secondary "mclr"
bind "l" "+secondary"

alias +grenades "he; smok; flash"
alias -grenades "mclr; wait; wait; mclr"
bind "N" "+grenades"

alias +helmet "buy; ms8; ms2"
alias -helmet "mclr"
bind "," "+helmet"

//End Script//


any help would be greatly appreciated

Daniel
December 4th, 2002, 22:41
What exactly doesn't work?

tandoc
December 4th, 2002, 23:59
all of it - when i press O to test out the bomb thing - it goes to the buy menu - everything else is non-responsive

Daniel
December 5th, 2002, 16:09
alias +bomb "weapon_c4; +duck; +attack; wait; radio1; voiceselect 1; slot10; say_team Cover me I'm planting the bomb"

Try that to see if it works.

Weirds
December 8th, 2002, 23:17
no, it doesn't work.