alias<Alias><"Command">
The alias command in CS:GO lets you map a custom phrase entered into the console to a longer command or a sequence of commands.
Arguments
These are the parameters alias uses when it is ran. Required arguments must be provided.
<Alias>
The alias text you type into the console that triggers the alias commands; for instance, entering "example" here means typing example in the console will run the commands you specified.
<"Command">
The command or list of commands to execute when the alias is entered in the console. If you provide multiple commands, enclose the list in quotation marks (" ) and separate each command with a semicolon. For example, "buy ak47; buy p250;" will purchase an AK-47 and a P250.
Command Builder
This interactive command builder generates a valid alias command for in-game use. Fill all required fields.
Output Command
alias <Alias> <"Command">Command Information
Learn more about how to use the alias effectively.
Argument Data Types
Arguments can be of type String, Number, Bool, or Enum. Provide the correct type for the command to execute correctly.
Required Arguments
Arguments marked as Required must be provided for the command to work. Optional arguments can be left blank.
Command Scope
Commands can be Client-sided or Server-sided. Client-sided commands affect only your game client, while server-sided commands affect the entire server.
Cheats Required
Some commands require sv_cheats to be enabled. If a command has this requirement, it will not run on servers where cheats are disabled.