// Exile_Client Example
// Change "Exile_Client" to name of the Cfg patche from desired mod
if (isClass(configFile >> "CfgPatches" >> "Exile_Client")) then {
// Change checkExile to your desired mod variable name
// Change "Exile Mod is" to your mod string
checkExile = "Exile Mod is found!
";
} else {
// Change "Exile Mod is" to your mod string
checkExile = "Exile Mod is NOT FOUND!
";
// Set 99 to Required, Set 1 to optional
errorLevel = errorLevel + 99
};
// Esseker Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "Esseker")) then {
checkEsseker = "Esseker Map is found!
";
} else {
checkEsseker = "Esseker Map is NOT FOUND!
";
errorLevel = errorLevel + 99
};
// Zombis & Demonds Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "Ryanzombies")) then {
checkRyan = "Zombies and Demonds is found!
";
} else {
checkRyan = "Zombies and Demonds is NOT FOUND!
";
errorLevel = errorLevel + 99
};
// CUP_Weapons Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "CUP_Weapons_WeaponsCore")) then {
checkWeapons = "CUP Weapons is found!
";
} else {
checkWeapons = "CUP Weapons is NOT FOUND!
";
errorLevel = errorLevel + 99
};
// CUP_Vehicles Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "CUP_Vehicles_Core")) then {
checkVehicles = "CUP Vehicles is found!
";
} else {
checkVehicles = "CUP Vehicles is NOT FOUND!
";
errorLevel = errorLevel + 99
};
// CUP_TerrainCore Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "CUP_Worlds")) then {
checkTerrain = "CUP Terrain Core is found!
";
} else {
checkTerrain = "CUP Terrain Core is NOT FOUND!
";
errorLevel = errorLevel + 1
};
// CUP_Units Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "CUP_Creatures_People_Core")) then {
checkUnits = "CUP Units is found!
";
} else {
checkUnits = "CUP Units is NOT FOUND!
";
errorLevel = errorLevel + 99
};
// Community Base Addon Example - DELETE OR MODIFY
if (isClass(configFile >> "CfgPatches" >> "CBA_main")) then
{
checkCBA = "CBA_A3 is found!
";
} else {
checkCBA = "CBA_A3 is NOT FOUND!
";
errorLevel = errorLevel + 1
};