+1
I've been limiting my commands to enemies that I'm engaging (I forget the script verbiage; sorry). Doesn't help with Fighters like Eder if they're Engaging multiple targets, but works fine on my melee DPS units.
Also, adding a timer for that set of commands in nice. It's not as good as the conditional auto-attack logic you want because it's triggered on time rather than the condition expiring, but it's a good enough stop-gap until the inevitable patch.
Honestly, I'm finding the scripting great fun. My characters keep doing stupid things, only for me to realize that they're doing *exactly* what I stupidly asked them to do. I look forward to players sharing their uber-scripts in the future!