EA games created hundreds of scripts for the AI. You can find them in Data\Scripts folder in your game directory (If you installed Zero Hour in the default path, then it should be C:\Program Files\EA Games\Command & Conquer Generals Zero Hour"). If you put a script into one of the skirmish script folders (this includes the "Neutral" folder), then the default skirmish scripts don't get activated. You can only put scripts in the PlyrCivilian folder without this happening. This is really handy when creating an AOD map so that the skirmish scripts don't interfere with the AOD map scripts. You can import skirmish scripts into your map though, then the AI will work properly. But take note, after this is done, it takes about 45 seconds to open up the script menu. So be sure your done with your scripts before importing.
You can import the scripts from the Data\Scripts folder in your game directory, but for some reason, they don't come in the right folders. A long time ago, I resorted them because I was trying to modify the AI scripts for a certain map. I've uploaded the below, there available for you to download.
1) After you download them, extract the scripts from the ZIP folder, open up your map & the script menu.
2) Click on the "Import" button & browse for the script file.
3) The "OK" button is hidden do to an EA bug, just press the "Enter" key after you've selected the script file.
This should do it! Let me know if you have any more problems.
Download Attachment: 
Skirmish Scripts.zip
229.85 KB