Translations:Manual:Autopromote.php/2/en

The recCheckCondition function has some particularly useful recursive logic allowing for AND, OR, XOR, and NOT tests.