This works kinda the same
<QuestsSorted Action="RunMacroLua" NameClass="/target Quest NPC" />
<QuestsSorted Action="While" NameClass="wManager.Wow.ObjectManager.ObjectManager.Target.NpcMarkerId.Equals(7) || wManager.Wow.ObjectManager.ObjectManager.Target.NpcMarkerId.Equals(6)
" />
But would be nice with a cleaner solution