A word to modders:
The creation of a new more intensive AI script is time consuming and it requires a great deal of concentration. Not to mention a well crafted logic progression will help speed the in-game process.
A recommended way to approach the Creation of scripts is to work on one unit at a time in it's own encapsulated text editor. I would strongly suggest don't make edits within a complete AI script - this can lead to unintentional headaches. When done with your units ROE conditions, copy all of the text and paste within the AI script.
One issue that commonly arises is the duplication of ROE lines.
This result will cause your game to hang somewhere between game 90 to 300.
This is at the point the AI goes from Neutral capture to full blown expansion against others.
This is due to additional units being created and with this new production range, it will reveal the flaw that is your duplicated line(s) within the AI script and hang your game session..
If the game crashes it may more likely be a game engine issue.
However if your sloppy with AI ROE definitions then who knows what outcome you may get. Possibly the game session will not load.
Anyways, enough of the word to the wise. Go out there and have a blast making your own custom scripts.