Magento - Nested ifconfig for better Layouts

By default, Magento allows you to use ifconfig in the following way:

skin_jsjs/script_one.js

the javascript js/script_one.js will be included if path/to/config/status/enabled is true.
Unfortunately, Magento does not allow you to use the "else" block for ifconfig.

for example:
Let's say, you want to implement the following logic:
if path/to/config/status/enabled is true
then
include the javacript js/script_one.js
else
include the javacript js/script_two.js

Thanks to Extended ifconfig extension by CODNITIVE it is now possible to use more conditions by following the syntax below:




    
        
             skin_jsjs/script_one.js
             skin_jsjs/script_two.js