Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
cvar
From Quake Wiki
Syntax:
float cvar(string name)
Get the value of a named cvar. In order to get string values, you'll have to use a custom engine that supports the cvar_string builtin.
Parameters:
name
- Name of the cvar to query.
Returns:
- Returns the numeric value of the named cvar.