Here's an example which would create 2 config files
PHP Code:
AutoExecConfig_SetCreateFile(true);
AutoExecConfig_SetFile("test1");
AutoExecConfig_CreateConVar("test1", "1", "Test1");
AutoExecConfig_ExecuteFile();
AutoExecConfig_SetFile("test2");
AutoExecConfig_CreateConVar("test2", "1", "Test2");
AutoExecConfig_ExecuteFile();
The important part which i forgot to mention is using
PHP Code:
AutoExecConfig_SetCreateFile(true);
__________________