#show Sunder Armor
/cast [target=mouseover,harm,nodead] Sunder Armor
might be what you're working for. This looks at your mouseover target, makes sure it's an aggressive enemy, and makes sure it's not dead. If so, Sunder Armor is used, otherwise nothing happens.
Edited, Jan 8th 2008 3:24pm by duvar