System.SetCVar(string, value)
Sets a cvar to a specified value
System.SetCVar("cl_fov", 40);
A list of cvars can be found on the Console_Commands_and_CVars page.
Category: Lua API