[JASS] Importing JASS spell problem

Level 3
Aug 4, 2007
Hey, I tried importing this spell from Black Shogun's Wave Spells (which can be found here: http://www.hiveworkshop.com/forums/...103827/?prev=search=wave%20spells&d=list&r=20

well, i imported everything and followed the instructions that were already in the map exactly, as well as copy/paste the custom script in the header, but whenever i test the map, wc3: TFT won't start and says "War3.exe has encountered a problem and needs to close" or whenever I try to save it after importing everything, a list of compile errors show up.
If anyone can show how to fix this, or tell me if something's wrong, it would be greatly appreciated. Thanks in advance.