[35meffect [34mclear [36m@e[33m[[37mtype[34m=[33mminecraft:chicken[34m, [37mdistance[34m=[35m..[32m20[34m, [37mnbt[34m=[32m![35m{[37mAge[34m: [32m0[34m, [37mInLove[34m: [32m0[35m}[34m, [37mnbt[34m=[35m{[37mactive_effects[34m: [[33m{[37mid[34m: [32m'minecraft:glowing'[33m}[34m][35m}[33m] minecraft:glowing
[35meffect [34mgive [36m@e[33m[[37mtype[34m=[33mminecraft:chicken[34m, [37mdistance[34m=[35m..[32m20[34m, [37mnbt[34m=[35m{[37mAge[34m: [32m0[34m, [37mInLove[34m: [32m0[35m}[34m, [37mnbt[34m=[32m![35m{[37mactive_effects[34m: [[33m{[37mid[34m: [32m'minecraft:glowing'[33m}[34m][35m}[33m] minecraft:glowing [34minfinite [32m0 [0mtrue
those commands are currently being used in two separate [repeating] command blocks, and work as expected; I what I need help with is to do it properly...
for instance, I'm unsure whether the InLove NBT property is required in both selectors.
and maybe avoid calling these, every tick--perhaps using a condition to evaluate the entities first, and if there's a match; only then apply the effect command.
as an aside, if you have better alternatives; your suggestions are welcome!