Party frame/raid frame

Hello, I am trying to find a way for my macro to work with clique. What I want is for my healing spell to ONLY work when I mouseover a party or raid frames, instead of also switching when I hover over friendly players in the 3d world. Here’s the example of the macro I use:

#showtooltip
/cast [@mouseover, help] word of glory;
/cast [@target, harm] judgment; [] word of glory

As you can see if the target is harmful, it will show judgment, if I mouseover any friendly it turns into word of glory. What I want is to only turn into word of glory if I hover only a friendly frame. I read this is possible with clique but I don’t know where it is that I can turn this option on in clique. Any help would be appreciated.

So you’d just setup WoG in Clique and not use the macro. The macro can’t be limited to unit frames.