Create a quick jass function in the map initialization that takes two coordinate pairs and spawns lightning between those and destroys it soon thereafter. Create a loop, in GUI if you will, that calls this function in short intervals along a circle. There are better ways of doing this with timers, but that's more complicated.