Command Generator
Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.
alias Examples
This command binds the "kill" command to the alias "example". If you were to enable this alias (by typing the above command into your console), typing example into your console would kill you.
This command binds the command "example" to the two commands "sv_cheats 1" and "give weapon_ak47". After running this command, typing the command "example" into the console would run both of those comands: meaning cheats would be enabled and you would be given an AK-47.
This command will make you purchase either an AK or a M4, depending on what side you're playing on, by typing "rifle" into your console. It will purchase whichever M4 you have equipped in your loadout, so doesn't need to be changed if you use the M4A4.