Programming your allies is not an important goal in the game, that's why we want to make something simple to allow the player to program his allies.
The concept proposed come from a game called Final Fantasy 12, and you can see it in this image for example : http://www.artcorekirbies.fr/images/Rev/602-final-fantasy-xii/final310.jpg
But we want to do it in a more "fancy" way.
To explain the concept, you create a priority list, the number 1 being the most important, and your IA will do the higher action in the priority list. But, you can put conditions on your action (if you look at the example, you may think that the action will always be : "use phoenix down on any ally", but this is more complicated, since "phoenix down" can only be used on dead allies, so this action will occur only if there exist a dead ally, and then "poisona" only works on poisoned allies, so this action will occur only if there exist a poisoned ally and all allies are alive, etc).
This is for the concept, but what we want to do is using the same system but you give your orders using the natural language (in the game, we had only to chose between a list of premeditated sentences), since it's well more interesting.