On the garrison screen, you can click underneath a commander's name to give him or her orders. Click on this. There will be a fair number of commands available, some above a dividing line, some below. Below are permanent commands, and will dictate a unit's behavior for the remainder of the battle once that command is recieved (note that normal, non-commander units can only choose from these). The upper tier of commands are available only to commanders, and each only applies to one turn on combat. You can queue up to five of these on a commander, in addition to one lower tier command to execute once the upper tier commands have been completed. One of the upper tier commands is "Cast a specific spell." You can click this and choose from all spells that that particular commander can cast (including grayed out ones that they have the right path to cast but not enough skill). By clicking on a spell, you queue it up, and it will bring you back to the select orders screen. You can do this 5 times (mixing and matching upper tier orders...they don't all have to be "Cast a specific spell") before you cannot script the unit specifically any further, and must rely on the vagueness of the lower tier commands.
Hopefully that explanation has helped, if not I'll try and make it clearer

.
e;fb
[ February 12, 2004, 20:14: Message edited by: gibson ]