Think I got it.
Ok, currently you've formatted your AI commands like this:
Like it was a function. But, the AI's attributes are actually a property of the AI. So it should be formatted like this:
GetEmpire(2).ExpandBlind = 0edit - corrected typo in code above
Haven't tested i with all of them, but that is definitely what is going on, I think.