Yeah you had quite a few errors in your script as it turns out :d
View attachment 494758
The problem is that a comma was missing in most lines, you need to do it like so
View attachment 494759
There were also errors (like KNGITH instead of KNIGHT or GRYPHON_RIDER instead of GRYPHON so the game doesn't know what's this)
There's an endloop at the end but no loop to mark the beginning of the loop, I've removed it
Finally, you need to declare what is commander Zolas. I've added this at the beginning:
View attachment 494760
Replace the question marks with the raw ID of your hero in the editor (it's a 4 digit code like H50Z) and it should be good