Counter-strike Buy Script! - Fast, easy, and you're in control!

free web hosting
Free Web Hosting, No Ads > The Gaming Zone (7Gears.com) > Games [subforums] > Counter-Strike

Counter-strike Buy Script! - Fast, easy, and you're in control!

Extortioner
Buy Script

This Script Tutorial will help you write a basic Buy Script by yourself. This is a great place to start for beginners and a good refresher for the "Old School" Scripters. I tried to break each part down Step by Step so you can see the Script start to take shape. So lets get started!


Step #1 - Making the Common Aliases

We will start by creating the common aliases that will be used throughout the Buy Script.

The basic commands of a Buy Script include:


1. ( buy )
- This opens the buy menu

2. ( menuselect )
- These select whatever is in that slot

3. ( ; )
- A semi-colon separates each part of the alias

4. ( " " )
- Quotation Marks tell the game when an alias starts and ends

5. ( / )
- This slash can be put in to comment out that line (Use when you want to describe something for yourself. The game will not read that line)


(Open up Notepad and follow along!)

Now we will make the aliases for the menuselects to make your script easier to read and with less text.

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"


Step #2 - Making a Weapon Alias

We will now make an alias for your first weapon. We will use an MP5 for an example. The MP5 is located in the Buy menu, menuselect 3, then menuselect 1. The alias looks like this:

alias +MP5 "buy; ms3; ms1"
alias -MP5 "mclr"

I use the (+) and (-) signs for closing the menus. The (+) alias buys the items when you press the key and the (-) closes the menus when you release the key. I use the alias "mclr" from above in the (-) alias, since it is the alias I made to close the menus. I also use the abbrievated menuselect aliases ms3 and ms1, instead of retyping menuselect everytime.

Now repeat that for all weapons, it should look like this:

//Pistols - Menuselect 1//
alias +USP "buy; ms1; ms1"
alias -USP "mclr"
alias +GLOCK "buy; ms1; ms2"
alias -GLOCK "mclr"
alias +EAGLE "buy; ms1; ms3"
alias -EAGLE "mclr"
alias +P228 "buy; ms1; ms4"
alias -P228 "mclr"

//Shotguns - Menuselect 2//
alias +M3 "buy; ms2; ms1; mclr"
alias -M3 "mclr"
alias +XM1014 "buy; ms2; ms2; mclr"
alias -XM1014 "mclr"

//Submachineguns - Menuselect 3//
alias +MP5 "buy; ms3; ms1; mclr"
alias -MP5 "mclr"
alias +TMP "buy; ms3; ms2; mclr"
alias -TMP "mclr"
alias +P90 "buy; ms3; ms3; mclr"
alias -P90 "mclr"
alias +UZI "buy; ms3; ms4; mclr"
alias -UZI "mclr"

//Assault Rifles - Menuselect 4//
alias +AK47 "buy; ms4; ms1; mclr"
alias -AK47 "mclr"
alias +SIG "buy; ms4; ms2; mclr"
alias -SIG "mclr"
alias +M4 "buy; ms4; ms3; mclr"
alias -M4 "mclr"
alias +AUG "buy; ms4; ms4; mclr"
alias -AUG "mclr"

//Sniper Rifle - Menuselect 4//
alias +SCOUT "buy; ms4; ms5"
alias -SCOUT "mclr"
alias +AWP "buy; ms4; ms6"
alias -AWP "mclr"
alias +G3SG1 "buy; ms4; ms7"
alias -G3SG1 "mclr"

//Machinegun - Menuselect 5//
alias +M249 "buy; ms5; ms1"
alias -M249 "mclr"

//End Weapons Aliases//
At this point you can bind any of these if you want like:

bind "x" "+AK47"
bind "y" "+M4"
bind "z" "+AWP"

Most people don't want just a weapon, but if you want just a weapon bind those.


Step #3 - Making the Equipment Aliases

Now that we have the weapons aliased, lets do the equipment (menuselect 8)(buyequip). The same rules apply to the equipment. You can name the aliases whatever you want, but usually you want to be able to identify the alias by the name you give it. (ie) pammo is Primary ammo, flashg is a flashbang, helmet is armor with a helmet, get it? So the equipment aliases should look something like this:

alias +pammo "buy; ms6" //buys full primary ammo
alias -pammo "mclr"
alias +sammo "buy; ms7" //buys full secondary ammo
alias -sammo "mclr"
alias +armor "buy; ms8; ms1" //buy armor - $650
alias -armor "mclr"
alias +helmet "buy; ms8; ms2" //buy armor+helmet - $1000
alias -helmet "mclr"
alias +flashg "buy; ms8; ms3" //buy flashbang - $200
alias -flashg "mclr"
alias +hegren "buy; ms8; ms4" //buy he grenade - $300
alias -hegren "mclr"
alias +smokeg "buy; ms8; ms5" //buy smoke grenade - $300
alias -smokeg "mclr"
alias +defuser "buy; ms8; ms6" //buy defuse kit - $200
alias -defuser "mclr"
alias +nvgs "buy; ms8; ms7" //buy nvgs - $1250
alias -nvgs "mclr"

If you want to bind just equipment, here are some examples:

bind "x" "+armor"
bind "y" "+hegren"
bind "z" "+nvgs"

Ok, now I am going to make more equipment aliases to put in other aliases later. You ask why. This is why. Later you will be creating aliases with multiple items in them; so to make things more organized I use these to put in my multiple alias buys:

alias ammo1 "buy; ms6" //buys full primary ammo
alias ammo2 "buy; ms7" //buys full secondary ammo
alias arm "buy; ms8; ms1" //buy armor - $650
alias helm "buy; ms8; ms2" //buy armor+helmet - $1000
alias flash "buy; ms8; ms3" //buy flashbang - $200
alias he "buy; ms8; ms4" //buy he grenade - $300
alias smok "buy; ms8; ms5" //buy smoke grenade - $300
alias defus "buy; ms8; ms6" //buy defuse kit - $200
alias nvg "buy; ms8; ms7" //buy nvgs - $1250

I don't need the menu cleared until the end so these will be placed in another alias later. If you want to just buy the equipment, use the aliases with the (+)'s above.


Step #4 - Making Multiple Buy Aliases

Now lets make multiple buy aliases that buy the weapon + armor + primary ammo. Once again I will use MP5 for an example:

You will want to name these different than the ones before.

alias +MP5X "buy; ms3; ms1; arm; ammo1"
alias -MP5X "mclr; wait, wait; mclr"

Lets dissect this alias so it makes sense to everyone:

alias +MP5X "buy; ms3; ms1; arm;ammo1"

I buy an MP5 in bold,
I buy armor here in italics,
I buy full primary ammo where it is underlined

The armor and ammo are using the equipment aliases from above.

alias -MP5X "mclr; wait, wait; mclr"

I use the mclr alias and some waits since we buy more than one item. One is probably safe, but I just made two for double protection from the dreaded open menu.

Now lets make an alias to buy the weapon + armor + full primary ammo for all the submachineguns and assault rifles:

alias +MP5X "buy; ms3; ms1; arm; ammo1"
alias -MP5X "mclr; wait, wait; mclr"
alias +TMPX "buy; ms3; ms2; arm; ammo1"
alias -TMPX "mclr; wait, wait; mclr"
alias +P90X "buy; ms3; ms3; arm; ammo1"
alias -P90X "mclr; wait, wait; mclr"
alias +UZIX "buy; ms3; ms4; arm; ammo1"
alias -UZIX "mclr; wait, wait; mclr"
alias +AK47X "buy; ms4; ms1; arm; ammo1"
alias -AK47X "mclr; wait, wait; mclr"
alias +SIGX "buy; ms4; ms2; arm; ammo1"
alias -SIGX "mclr; wait, wait; mclr"
alias +M4X "buy; ms4; ms3; arm; ammo1"
alias -M4X "mclr; wait, wait; mclr"
alias +AUGX "buy; ms4; ms4; arm; ammo1"
alias -AUGX "mclr; wait, wait; mclr"

Now to bind these you would do it like this:

bind "x" "+MP5X"
bind "y" "+UZIX"
bind "z" "+SIGX"

Do you see how that works now. So you can make any combination you want and make an alias and bind it to a key.


Step #5 - Multiple Equipment Aliases

Lets now do some multiple equipment aliases (use the equipment aliases from above to make life easier).

alias +3grens "he; smok; flash"
alias -3grens "mclr; wait; wait; mclr"

bind "x" "+3grens"

This alias buys one of each of the 3 grenades.

alias +ctstuff "helm; defus; he; smok; flash"
alias -ctstuff "mclr; wait; wait; mclr"

bind "x" "+ctstuff"

This alias buys a helmet/armor, a defuse kit, and one of each grenade.

**Try some combinations on your own**


Step #6 - Make your Own

I think we have touched on all the areas for making a buy script. Now it is your choice for what you want in it. Make your own personal combinations and bind them to the keys you want. I usually have my 6 favorite weapons with armor and full ammo, then I have addition aliases for grenades, ammo, and armor. I have seen many Buy Scripts out there that are very complicated or try to do too much. Try these steps and make your own script that is easy and customizable.
ENJOY! biggrin.gif

 

 

 


Reply

Good Grief Graphics
You just copied and pasted that entire post from http://www.counter-script.net/index.php?id=16

Reply

OpaQue
USER FINED WITH CREDITS WORTH 26 DAYS!

USER NOW HAS (-)19 CREDITS!!

DO NOT COPY HENCE FORTH!

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. make counterstrike buy script - 1.50 hr back. (1)
  2. ak 47 script cs 1.6 - 5.43 hr back. (1)
  3. cs buy menu graphics problem - 7.34 hr back. (1)
  4. script counter strike 1.6 - 8.68 hr back. (1)
  5. i cant buy defuse on cs - 9.50 hr back. (1)
  6. counter strike smoke script - 9.51 hr back. (1)
  7. cs buy he - 12.15 hr back. (1)
  8. buyscript - 12.69 hr back. (1)
  9. bestes buyscript - 13.60 hr back. (2)
  10. buyscript cs - 14.66 hr back. (1)
  11. scripturi counter strike romania - 15.60 hr back. (1)
  12. buyscript cs - 17.78 hr back. (2)
  13. cs buy binds - 18.36 hr back. (1)
  14. fast buy in cs 1.6 - 18.61 hr back. (1)
Similar Topics

Keywords : counter, strike, buy, script, fast, easy, youre, control

  1. Post Your Counter Strike Or Cs:s Stories Of Ownage!
    olollololololo (0)
  2. Counter-strike 1.6
    (1)
    So . . . everyone knows about 1.6 but whats the whole deal about counter-strike is it to prepare you
    for war?? or combat or is it to have fun... Well ... I think its to have fun But its also like a
    simulator for newbies in the army ... Well i would like to know what you think about counter-strike
    ... Post your thoughts....
  3. Counter-strike:fun?
    (5)
    Ive always wanted to try out the game counter strike because i heard it was good but i was never
    sure because of all the bad things i heard. Thier were things like People being whiney *BLEEP*es
    Long loading times Hackers Lag Etc. I was never sure if this was the game for me because i played
    Americas Army and Warrock and the things stated above happened in those games too. So if someone
    could inform me on the pros/cons of CS it would help....
  4. Counter Strike *xbox)
    (0)
    Who here plays Counter Strike for the XBOX? I do. Add me on live. GT: Black Aye I'll see you on
    the RANKS! /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" />....
  5. Counter Strike Dedicated Server
    Help Setup (0)
    Before you get too ahead of yourself; let's take a minute to set up a couple of things. Inside
    your Half-Life directory (which means, assuming you hard drive is the letter C, go to the
    C:\Sierra\Half-Life directory) you will find the dedicated server program, named hlds.exe
    (this is only true if you have the mod version of Half-Life). You can also download the program
    specifically designed to run your HLDS from the server downloads page. The HLDS is 112.5MB and the
    CS is 115.8MB. There are periodic updates, but it is your best bet to run your server with th....
  6. Tutorial Build Your Own Cs Server 1.6 Steam
    how to build counter strike server 1.6 Steam (14)
    This server is for Windows only . if u need tutorial to linux replay to the topic QUOTE
    1.Download necessary files - HLDSUpdateTool - AMX Mod X 2.Install Server a) First we need to
    create a New Folder, create this in C:\ with this name: HLDS. /cool.gif"
    style="vertical-align:middle" emoid="B)" border="0" alt="cool.gif" /> Now open hldsupdatetool.exe
    and install them in D:\HLDS. c) Now we most to create a shortcut at HldsUpdateTool.exe (from
    D:\HLDS – right click on icon and select ”Create Shortcut”)., now we has created a shortcut
    (she`s name i....
  7. Counter-stike Promod!
    Releases end of Septmber. (0)
    Taken from http://www.cspromod.com/ QUOTE We're able to officially confirm that we'll
    be releasing the first open version of CSPromod at the end of the month, as promised in a number of
    interviews and press releases. We don't have an exact date set as of yet, but we can
    definitively say that the waiting will soon be over. You'll be able to get your hands on CSP
    sometime within the next few weeks. All I have to say about this is... FINALLY! I can't
    wait to download the game a play it for the first time! If you don't know much abo....
  8. Invalid Counter Strike Cd Key Error...
    how to resolve invalid cd key error..plz help (6)
    hey i have made a cs 1.6 server bt when i connect to this server.....it gives error invalid cd key
    if any one knos how to resolve this error plz post an fast... Editted title to better fit topic. ....
  9. Cs:s Counter-strike: Source Gun Tips
    (9)
    AK 47 Fire in short bursts, dont spam because you won't hit anything!
    ----------------------------------------------------------------------------------------------------
    --------------------------------------------------- M4A1 Do the same with the M4 as AK-47 Fire
    in short bursts but with the M4 u aim just below the head to get headshots
    ----------------------------------------------------------------------------------------------------
    --------------------------------------------------- P90 The p90 is an awesome weapon. First
    though you have to lear....
  10. Counter-strike Recommendations
    (6)
    How to be pro on Counter-Strike Requirement: GOOD MOUSE(this is important) Nice
    pc GOOD graphic card Dont masturbate
    Dont drink alchohol Dont smoke /tongue.gif" style="vertical-align:middle"
    emoid=":P" border="0" alt="tongue.gif" />... PRACTICE Its just that you need
    some practice, but try not to begin with ak-47, thats to powerful for your hands:P... Try with m4a1,
    but i dont recommend toy to try on custom map( thats when you are bored, to show....
  11. How To Make A Counter Strike 1.6 Dedicated Server
    CS 1.6 Dedicated Server with Admin Mod and Stats Me (16)
    How to make a Counter Strike 1.6 Dedicated server What do we need ? HLDSupdatetool ->
    http://www.steampowered.com/download/hldsupdatetool.exe NoSteamPatcher ->
    http://www.gameszone.ro/downloads/no-won-steam.zip AdminMod + MetaMod ->
    http://ovh.dl.sourceforge.net/source....50.60-win.zip StatsMe ->
    http://ovh.dl.sourceforge.net/source....3-cstrike.zip Step 1 Create a dir were the server will be
    installed example C:\HLDS Open hldsupdatetool.exe, click next , then I agree we will get to the
    destination folder, here we press browse and select Local Disk C ,....
  12. Counter-strike Pro Mod
    (1)
    For those that have no idea about whats going - this all about competitive play n cs. Since late
    January, many pro teams like complexity, team 3d and united5 switched over from counter-strike 1.6
    to counter-strike source. This drastic move was done due to opening of the new tv service called
    Direct TV, playing professional counter-strike source matches live, meaning plenty of advertisement
    and sponsors. Many fans weren't satisfied with that move and refused to switch over. So a team
    with a guy (old cal i star) Al "Drax" Mendoza as a chief manager came in to change ev....
  13. Counter Strike Error Code 127
    (0)
    Dear my forummates i am new user at this forum.Nice to meet you all. i need help about code
    error about CS.1.5 i think its about need Nvidia Geforce2 mx400 driver. Do you know about this.
    Thanks a lot....
  14. Have Counter Strike Version For Linux Paltforms?
    (2)
    That is my doubt. Have Counter Strike version for linux paltforms? please if anybody know about this
    post. thank you.....
  15. Counter-strike Model Maker
    (11)
    Is there any freeware about making the Counter-Strike model or yeah, maps? /unsure.gif"
    style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> Tell me.. I like to
    create my own model.. must be great! /biggrin.gif" style="vertical-align:middle" emoid=":D"
    border="0" alt="biggrin.gif" />....
  16. Counter Strike Bragging Rights!
    ..... (2)
    ok... ok... now... i like playing counter strike... it has some of the most friendliest people on it
    (and sadly moronic noobs also)... so... have anyone done anything really really cool!! i
    have... i like threw this granade (AWWW COOOL!!! HE LIKE THREW IT!!
    AWSOME!!!)... and it like hit the ground and went behind this creat... 1 second later...
    some guy (WOOOOOOOOW!!! SOME GUY!!)... had to walk behind that same craet, and
    well... KABOOOOOOOOMMM!!! Finally... i got a kill... the end....
  17. Your Counter-strike Soruce Gamertag
    what is your name on Counter-Strike Sor (18)
    what is your name on Counter-Strike Soruce i use Shaunofthedead | -DarkSide-. i use it because my
    fav film is Shaun of the dead i use the same gamertag on all game with out the | -DarkSide- because
    that is my Counter-Strike Source Clans name.....
  18. Your Favorite Gun In Counter Strike
    vote and give me a reason (64)
    Whats your fav gun? Mines m4 but i think the ak is better since its easier to shoot on target from
    range. eg from long A down to A. I think most will like the ak then the m4 and a couple the deagle?
    what you think to that? m4 is a good "allrounder" if you ask me. its doesnt take tons of experience
    and doesnt spray as much as the ak but the ak is more acturate. ps. i have seen the topic further
    down the page but thats a topic not a poll Merging double posts. Refrain from making one. Editing
    topic title and description. ....
  19. Counter Strike Source Ragdoll Physics
    (6)
    Man, I absoloutely love the ragdoll physics in CS:S. If you don't know what I mean by ragdoll
    physics is this: when you kill someone, they don't just fall to the ground in a pre-animated
    sort of death, they fall realistically, and sometimes end up in funny positions. Do you guys have
    any pictures of funny ragdoll deaths? Here's mine: Hiiilarious.....
  20. Music Script
    for cs 1.6 (12)
    Hello, I was wondering if someone could help me finding a script. I was playing with a friend of
    mine and we won a round as CT and then he pushed a button and music came from that voice
    comunication function. I asked him how he did that, and he said he downloaded a script and used .wav
    files to play off the melody. I then asked him if he could send it to me, but he didn't have it
    anymore, he got it at a LAN and said it was called 'Voice com' something (He didn't
    remember) Well I have googled for some time now and i can't seme to find it, so if anyon....
  21. Counter Strike
    New to the game! (19)
    I decided to buy CS the other week (dont ask me why) and was wondering if any of you could give me
    any tips on how to stay alive for longers. I consider myself as not too bad at it but I often find
    myself running in too quick and getting shot but I cant help it, so any tips? Thanks
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
  22. Counter Strike For Xbox Live
    discussion on CS for xbl (9)
    I think CS for xbox live would be alot better if they made more maps and better guns.....
  23. Need Cheat Codes
    Counter Strike (36)
    hello:D im fiding for Cheat code COuntr-Strike /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> anyone can tell me ? like ~ and then we write..
    and we have good GUN /laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /> OR
    HOW FLY /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> ??i wanna this
    its nice Code Thanks /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' />
    /cool.gif' border='0' style='vertical-align:middle' alt='cool.gif' /> ....
  24. Maybe Someone Could Help...?
    Problems with Half-Life & Counter-Strike (14)
    I just bought the Half-Life Platinum Edition the other day that comes with 5 games (including CS).
    Well, I'm on dial-up, so after I spend an entire day updating Half-Life and Counter-Strike, I
    try to play CS online. It brings up the server list, and when I join, it starts to join. Usually
    when it gets to the "Precaching resources..." or something like that, it stops responding. I mean,
    maybe it's just being slow. I could wait 30 minutes to see what happens, but I don't have
    that kind of patience. I know it's not my computer, because it's har....
  25. Counter-strike
    who plays? (64)
    i know that people play cs all over the world. i myself, love the game /laugh.gif' border='0'
    style='vertical-align:middle' alt='laugh.gif' /> i was just wondering who here is into competitive
    cs (such as leagues like: cal , ogl, xpl, tgl, ugl..) If so, let me know! I'm curious!
    I am an ex-cal main season 9 /w EXTERMINATE and current cal-open #teamtog 2-1-0....
  26. Need Info For Counter Strike 2 Pls
    Need info for Counter strike 2 pls (13)
    I intend to buy counter strike 2 but I need a few info from experienced users before plunging to
    save some effort. My configuration is P4 (2.4 Ghz) Graphic Card (creative GForce 2 unltra, old)
    Ram 512MB With a low graphic config, can i get the best of it when playing CS2? I heard from
    friends that CS2 needs a relatively high graphic card and cpu.....
  27. Server Of Counter Strike 1.4
    Server of Counter Strike 1.4 (4)
    Somebody can give to me your favsvrs.dat (Your list of servers?). Thanks! PD: Sorry for my
    enlish im from argentina.....
  28. Counter-strike X-box (csx)
    Talk about Counter-Strike for X-Box (3)
    What do you guys think of the game on X-Box? I like it better on the box because the graphics are
    way better than PC. You can actually tell you is on your team! The colours are so much better.
    The gameplay is amaxing online. Thats my opinion, what do you people think?....

    1. Looking for counter, strike, buy, script, fast, easy, youre, control

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for counter, strike, buy, script, fast, easy, youre, control

*MORE FROM TRAP17.COM*
advertisement



Counter-strike Buy Script! - Fast, easy, and you're in control!



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE