AddPref line:Str

Modify the user configuration (preferences/options). line is a configuration assignment as it could appear in pcc2.ini. This command will process the line, and update the in-memory configuration accordingly. The configuration file will be rewritten the next time PCC2 exits the game.

You can only modify complete options, there's no way to modify just one slot of an array option.

For PCC2, this command will fail if the specified option does not exist.

Since: PCC2 2.0.12

See also: Global Commands