This is what I came up with. Unortunately the group status got deleted when my invis breaks. So i added the fourth line.
//INVIS
InvisStatus1_1 = 3,1718,450,0,255,0, ${If[${Group.Member[1].Invis[normal]} , INV,]}
InvisStatus1_2 = 3,1718,450,255,255,0, ${If[${Group.Member[1].Invis[undead]} ...