I'm working on documenting the scripts in the empires wiki. This may be a precursor to expanding the scripting system to allow custom mods. http://wiki.empiresmod.com/index.php?title=Scripts If people want to help out, I'll be adding pages with lists of script variables. Those will be needed to have information filled out about them, such as the data type, and what it means ingame.
Someone should add that page to the "Developer Documentation" part of the main page. EDIT: Also, I updated the Infantry Weapon Script part.