I want it so that when lightning strikes the ground, it explodes the ground, how can I do this with just command blocks without using behavior packs or mods? Even if the command is long, I would really like it to be short as possible though.
If this is impossible, how do I make it so that if I throw a snowball, it makes lightning strike wherever the snowball lands and causes an explosion, without it summoning TNT if possible so that the explosion isn't delayed?