Counter-Strike Scripting

d1abolic

Banned
Sep 21, 2001
2,228
1
0
Having trouble with the auto-buyer script. Can't get it to close the menu after buying the weapon. What command do i use? I tried "mclr" and "menuselect 0", neither worked. My old script did it fine but i forgot to back it up before formatting and since i wrote it ages ago, i can't remember how to do that :)
 

MrCraphead

Platinum Member
Sep 20, 2000
2,977
0
76
dang, you actually program your own buy scripts? that's hardcore. :)

I'm lazy, I just DL mine. :) I use Rze's Aliases, they're pretty good and their updates have kept up with the numerous CS versions that have come out. You can find them here.
 

d1abolic

Banned
Sep 21, 2001
2,228
1
0
Ah great, thanks! The system he uses needs a lot more code to do the same thing as the one i used to use, but it works. Here's what my autoexec looks like right now:

alias w "wait"
alias w2 "w; w; w; w; w; slot10; slot10; slot10; w; w; w; slot10; slot10; w; slot10"
alias w3 "w2; slot10; w; w; slot10; w; slot10"

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 aprm "buy; ms6; w3"
alias asec "buy; ms7; w3"

alias eagle "buy; ms1; ms3; asec; w3"
alias p90 "buy; ms3; ms3; aprm; w3"
alias mp5 "buy; ms3; ms1; aprm; w3"
alias akcolt "buy; ms4; ms1; aprm; w3"
alias sigaug "buy; ms4; ms2; aprm; w3"
alias awm "buy; ms4; ms6; aprm; w3"
alias he "buyequip; ms4; w3"
alias fl "buyequip; ms3; w3"
alias sm "buyequip; ms5; w3"
alias armor "buyequip; ms2; w3"

bind F1 "eagle"
bind F2 "p90"
bind F3 "mp5"
bind F4 "akcolt"
bind F5 "sigaug"
bind F6 "awm"
bind F7 "he"
bind F8 "fl"
bind F9 "sm"
bind F12 "armor"
 

habib89

Diamond Member
Jan 17, 2001
3,599
0
0
anyone want to explain that? i understand most of it, except slot10.. what's that? also is there a place where you can find all these codes? i'd much rather program my own.. more fun that way