I tried to open a map and i get these endif if errors. Is there any way to get rid of these errors, like editing the war3map.j or war3map.wtg? Maybe a program?
Maybe there are errors in the custom script or in custom text triggers, then you can fix them there, or it are map editor bugs, then I don't know what's the best thing to do.