A Counter-Strike: Source buy script lets you press one key to run a short sequence of purchase commands. Define the sequence as an alias, bind that alias to a key you have checked, and save both in autoexec.cfg if you want them available in later sessions. The exact CS:S config-folder path and the sample commands below are not verified here, so locate the configuration folder in your installed CS:S files and test the script in-game.
Choose a direct bind or a reusable alias
A direct bind is simplest when you need one purchase command. An alias is more convenient when you want one key to run several purchases or expect to edit the set later. A custom buy menu can do more, but it may take over keys you normally use.
| Option | Setup and editing | Key-conflict risk |
|---|---|---|
| Direct bind | Quick to set up; change the command in the bind when needed. | Uses the selected key for that purchase command. |
| Named alias | Define the purchase sequence once, then bind a key to its name; edit the alias to change the set. | Uses the selected key, but keeps the sequence separate from the bind. |
| Custom buy menu | More involved; a legacy CS:S community example combines menu and purchase commands. | Can reassign several keys, so review every binding before adapting one. The example is old community material, not an authoritative or verified current configuration. |
Check the key and confirm the item commands
Open the developer console if it is enabled. Before changing a key, inspect its current binding with bind <key>, replacing <key> with the key you are considering. Choose a key that is unused or one you deliberately want to repurpose, and keep track of its previous assignment so you can restore it.
Use purchase-command spellings accepted by your CS:S installation and server. The commands in the following example illustrate the syntax; they are not a tested CS:S loadout or a guarantee that every server accepts every item command. Counter-Strike: Source is a distinct game from CS:GO and CS2, so do not copy those games’ config paths as if they were CS:S paths. Valve lists CS:S as a Valve title released November 1, 2004, with keyboard and mouse as requirements: Steam store listing for Counter-Strike: Source.
#1 Best Overall
- Personalize 5 customizable lighting zones with over 16.8M colors to match your setup or game and synchronize backlit lighting effects with other Logitech G devices using Logitech G Hub
- G213 Prodigy is a full-sized keyboard designed for gaming and productivity, with a slim body built for gamers of all levels and durable construction to repel liquids, crumbs, and dirt for easy cleanup
- Each key is tuned to enhance the tactile experience, delivering ultra-quick, responsive feedback while the anti-ghosting gaming matrix is tuned for optimal gaming performance, keeping you in control
- G213 gaming keyboard features dedicated media controls that can play, pause, and mute music and videos instantly; easily adjust the volume or skip to the next song with the touch of a button
- Customize lighting, game mode, and macro programming with Logitech G HUB software and stay comfortable during long gaming sessions thanks to an integrated palm rest and adjustable keyboard feet
Create a one-command bind or multi-command alias
Bind one purchase command
For a single purchase, the general syntax is bind t "buy ak47". Replace t with your chosen key and buy ak47 with a command appropriate to CS:S. Quotation marks allow a command string to include spaces.
Define a buy-only sequence
For multiple purchases, an alias gives the sequence a reusable name. This illustrative syntax shows the pattern:
Rank #2
- Tri-mode Connection Keyboard: AULA F75 Pro wireless mechanical keyboards work with Bluetooth 5.0, 2.4GHz wireless and USB wired connection, can connect up to five devices at the same time, and easily switch by shortcut keys or side button. F75 Pro computer keyboard is suitable for PC, laptops, tablets, mobile phones, PS, XBOX etc, to meet all the needs of users. In addition, the rechargeable keyboard is equipped with a 4000mAh large-capacity battery, which has long-lasting battery life
- Hot-swap Custom Keyboard: This custom mechanical keyboard with hot-swappable base supports 3-pin or 5-pin switches replacement. Even keyboard beginners can easily DIY there own keyboards without soldering issue. F75 Pro gaming keyboards equipped with pre-lubricated stabilizers and LEOBOG reaper switches, bring smooth typing feeling and pleasant creamy mechanical sound, provide fast response for exciting game
- Advanced Structure and PCB Single Key Slotting: This thocky heavy mechanical keyboard features a advanced structure, extended integrated silicone pad, and PCB single key slotting, better optimizes resilience and stability, making the hand feel softer and more elastic. Five layers of filling silencer fills the gap between the PCB, the positioning plate and the shaft,effectively counteracting the cavity noise sound of the shaft hitting the positioning plate, and providing a solid feel
- 16.8 Million RGB Backlit: F75 Pro light up led keyboard features 16.8 million RGB lighting color. With 16 pre-set lighting effects to add a great atmosphere to the game. And supports 10 cool music rhythm lighting effects with driver. Lighting brightness and speed can be adjusted by the knob or the FN + key combination. You can select the single color effect as wish. And you can turn off the backlight if you do not need it
- Professional Gaming Keyboard: No matter the outlook, the construction, or the function, F75 Pro mechanical keyboard is definitely a professional gaming keyboard. This 81-key 75% layout compact keyboard can save more desktop space while retaining the necessary arrow keys for gaming. Additionally, with the multi-function knob, you can easily control the backlight and Media. Keys macro programmable, you can customize the function of single key or key combination function through F75 driver to increase the probability of winning the game and improve the work efficiency. N key rollover, and supports WIN key lock to prevent accidental touches in intense games
alias buyset "buy ak47; buy vest; buy vesthelm"
bind F6 buyset
Replace the example purchases with commands you have confirmed for CS:S, and change F6 if it conflicts with a key you use. Semicolons separate commands in the quoted sequence; the alias name itself has no spaces.
A general scripting guide also illustrates an alias that switches weapon slots and drops an item: alias buydrop "buy ak47;slot1;drop", followed by bind t buydrop. Those extra commands change what happens beyond buying, so leave them out if you want a buy-only script. The guide is community material and includes CS:GO-specific paths; use it for general syntax, not as CS:S path documentation: Steam Community: How to: Scripting, Binds and Configs.
Rank #3
- Ip32 water resistant – Prevents accidental damage from liquid spills
- 10-zone RGB illumination – Gorgeous color schemes and reactive effects
- Whisper quiet gaming switches – Nearly silent use for 20 million low friction keypresses
- Premium magnetic wrist rest – Provides full palm support and comfort
- Dedicated multimedia controls – Adjust volume and settings on the fly
Save the script so it persists
Commands entered only in the console are temporary for the current game session. To make the alias and bind available after restarting, save them in autoexec.cfg. A CS:S-specific legacy community example places its buy-menu script in that file, while the general scripting guide describes autoexec as a startup configuration mechanism: ETCwiki: Counter Strike Source Buy Menu.
- Locate the configuration folder through your installed Counter-Strike: Source files. The current CS:S path is not established here; do not substitute a CS:GO path from a general guide.
- Create or open
autoexec.cfgin that folder. - Put the alias definition and its bind in the file. For example, adapt the two-line
buysetexample above using your confirmed CS:S purchase commands and chosen key. - Save the file, launch CS:S, and load the configuration using the method available in your setup. Check the console for errors rather than assuming the file loaded.
Test the key and recover from a conflict
Test in a local game or another suitable server. Press the bound key during the applicable buy period and confirm what was actually purchased. Server rules and buy-time behavior can affect the outcome; the syntax alone does not ensure a purchase will succeed. If nothing happens, check for console errors, confirm the alias and bind loaded, verify the command spellings, and make sure the server permits the purchase.
Rank #4
- 【Ergonomic Design, Enhanced Typing Experience】Improve your typing experience with our computer keyboard featuring an ergonomic 7-degree input angle and a scientifically designed stepped key layout. The integrated wrist rests maintain a natural hand position, reducing hand fatigue. Constructed with durable ABS plastic keycaps and a robust metal base, this keyboard offers superior tactile feedback and long-lasting durability.
- 【15-Zone Rainbow Backlit Keyboard】Customize your PC gaming keyboard with 7 illumination modes and 4 brightness levels. Even in low light, easily identify keys for enhanced typing accuracy and efficiency. Choose from 15 RGB color modes to set the perfect ambiance for your typing adventure. After 30 minutes of inactivity, the keyboard will turn off the backlight and enter sleep mode. Press any key or "Fn+PgDn" to wake up the buttons and backlight.
- 【Whisper Quiet Design】Experience near-silent operation with our whisper-quiet gaming switch, ideal for office environments and gaming setups. The classic volcano switch structure ensures durability and an impressive lifespan of 50 million keystrokes.
- 【IP32 Spill Resistance】Our quiet gaming keyboard is IP32 spill-resistant, featuring 4 drainage holes in the wrist rest to prevent accidents and keep your game uninterrupted. Cleaning is made easy with the removable key cover.
- 【25 Anti-Ghost Keys & 12 Multimedia Keys】Enjoy swift and precise responses during games with the RGB gaming keyboard's anti-ghost keys, allowing 25 keys to function simultaneously. Control play, pause, and skip functions directly with the 12 multimedia keys for a seamless gaming experience. (Please note: Multimedia keys are not compatible with Mac)
If the key no longer behaves as expected, inspect its current binding with bind <key> and restore the assignment you recorded before editing it. Be especially cautious with multi-key menus: the legacy CS:S example changes B, R, number keys, and 0, and restoring only some defaults may not return every control to your preferred setup.
Keep command chains short
Semicolon-separated commands are convenient for a compact purchase set. The general scripting guide warns that very long command chains can hit a command limit and recommends splitting them into aliases. For a straightforward buy script, keep the alias focused on the purchases you need; a more elaborate menu adds key-management work and more opportunities to disrupt ordinary controls.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Quick Recap
Best Value
- 【65% Compact Design】GEODMAER Wired gaming keyboard compact mini design, save space on the desktop, novel black & silver gray keycap color matching, separate arrow keys, No numpad, both gaming and office, easy to carry size can be easily put into the backpack
- 【Wired Connection】Gaming Keybaord connects via a detachable Type-C cable to provide a stable, constant connection and ultra-low input latency, and the keyboard's 26 keys no-conflict, with FN+Win lockable win keys to prevent accidental touches
- 【Strong Working Life】Wired gaming keyboard has more than 10,000,000+ keystrokes lifespan, each key over UV to prevent fading, has 11 media buttons, 65% small size but fully functional, free up desktop space and increase efficiency
- 【LED Backlit Keyboard】GEODMAER Wired Gaming Keyboard using the new two-color injection molding key caps, characters transparent luminous, in the dark can also clearly see each key, through the light key can be OF/OFF Backlit, FN + light key can switch backlit mode, always bright / breathing mode, FN + ↑ / ↓ adjust the brightness increase / decrease, FN + ← / → adjust the breathing frequency slow / fast
- 【Ergonomics & Mechanical Feel Keyboard】The ergonomically designed keycap height maintains the comfort for long time use, protects the wrist, and the mechanical feeling brought by the imitation mechanical technology when using it, an excellent mechanical feeling that can be enjoyed without the high price, and also a quiet membrane gaming keyboard
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




