Are you saying if you turn it off and then on, nothing happens? It's probably because if lightning_effects is called when the cvar is 0, the function never gets called again to check if it is now 1.
__________________
No longer around. Thanks your support, everyone! As always: