I have been playing a lot of city mogul games, in which you must weaken a substation with one territ so that another more powerful stack can move through. However if you hit the auto assault button, the first territ might take the substation leaving you stuck. The script would simply be activated when you want to use it and would have an option like this:
Keep attacking until defender has ____ or few troops remaining
or
Keep attacking until attacker has ___ or few troops remaining
or a combination of the two
Keep attacking until Defender has ___ or few troops remaining or until Attacker has ___ or few troops remaining
This would be much easier than continually hitting the ASSAULT button until the defender's troops are less than 3.
If this was already suggested, please tell me