Garry's Mod Wiki

input.TranslateAlias

  string input.TranslateAlias( string command )

Description

Translates a console command alias, basically reverse of the alias console command.

Arguments

1 string command
The alias to lookup.

Returns

1 string
The command(s) this alias will execute if ran, or nil if the alias doesn't exist.