Simple Buyscript

Started by OldBloke, June 08, 2002, 06:11:00 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

OldBloke

For those of you asking for a simple buyscript ...

This is what I use. It can be amended to suit.

I have the following keys bound in config.cfg (found in your cstrike folder):

bind "F7" "+eagle"
bind "F8" "+spray"
bind "F9" "+ctbuy"
bind "F10" "+terror"

F7 This buys a Desert Eagle plus full ammo for it.

F8 This buys MP5, helmet & armour, armour (if not enough money for full armour), ammo, defuser (only if CT), HE and 2 FBs.

F9 This buys M4A1, helmet & armour, armour (if not enough money for full armour), ammo, defuser, HE and 2 FBs.

F10 This buys AK47, helmet & armour, armour (if not enough money for full armour), ammo, HE and 2 FBs.

To use this you first need to create a file. Cut and paste the following 2 lines into Notepad and save it as autoexec.cfg in your cstrike folder.

echo Loading BuyScript
exec buyscript.cfg

Next, cut and paste the following lines into Notepad and save it as buyscript.cfg in your cstrike folder.

// Common Menu Commands //
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 mclr "clrx; clrx"
alias clrx "slot10; wait; wait; slot10; wait; wait; slot10; slot10"

//These are parts of other aliases//
alias ammo1 "buy; ms6; mclr"
alias ammo2 "buy; ms7; mclr"
alias arm "buy; ms8; ms1; mclr"
alias helm "buy; ms8; ms2; mclr"
alias flash "buy; ms8; ms3; mclr"
alias he "buy; ms8; ms4; mclr"
alias smoke "buy; ms8; ms5; mclr"
alias defus "buy; ms8; ms6; mclr"
alias nvgs "buy; ms8; ms7; mclr"
// End Common Commands //

// Start Buy Scripts //

// This buys M4A1, helmet & armour, armour (if not enough money for full armour), ammo, defuser, HE and 2 FBs.
alias +ctbuy "buy; ms4; ms3; helm; arm; ammo1; defus; he; flash; flash; mclr"
alias -ctbuy "mclr; mclr; slot10; wait; wait; slot10"


// This buys AK47, helmet & armour, armour (if not enough money for full armour), ammo, defuser, HE and 2 FBs.
alias +terror "buy; ms4; ms1; helm; arm; ammo1; he; flash; flash; mclr"
alias -terror "mclr; mclr; slot10; wait; wait; slot10"


// This buys MP5, helmet & armour, armour (if not enough money for full armour), ammo, defuser, HE and 2 FBs.
alias +spray "buy; ms3; ms1; helm; arm; ammo1; defus; he; flash; flash; mclr"
alias -spray "mclr; mclr; slot10; wait; wait; slot10"


// This buys Desert Eagle plus ammo.
alias +eagle "buy; ms1; ms3; ammo2; mclr"
alias -eagle "mclr; slot10; wait; wait; slot10"

//End of BuyScript
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

TeaLeaf

:) Nice one Oldie - I'll try to integrate that sometime this weekend.  I have been using the one that Gandalf posted/emailed, but I what you described sounds a little more like what I am after.  Sorry Gandalf  :(
TL.
Wisdom doesn\'t necessarily come with age. Sometimes age just shows up all by itself.  (Tom Wilson)
Talent wins games, but teamwork and intelligence wins championships. (Michael Jordan)