Based on the Array functions that exist in AoE3, included is an XS file with customized functions that allow the use of Arrays in AoM.
I have found these arrays very useful while working with the AoM AI, I hope you will also.
There is too much to explain about these arrays in this description, but included in the download is a .txt file called "Array Instructions" that gives detailed instructions on how to create and use arrays using the custom functions. I highly advise reading the entire file atleast once because some aspects of the functioning of these arrays may be unclear otherwise.
Remember, at the time you are reading this, ONLY ARRAYS OF TYPE "FLOAT" AND "INT" WORK PROPERLY!! Once I can 'string' and 'vector' arrays to function, I will update this d/l (boolean arrays will probably never be created, due to a configuration issue inherent in boolean values).
All files in the d/l created by Magnum Pi.
Enjoy. Please do post a review or comment here if you can.