if ingroup("group1") or ingroup("group2")

if ingroup("group1") and ingroup("group2")

if ingroup("group1") and ingroup("group2")=0

if ingroup("group1")=0 or ingroup("group2")=0

if you are using kix 4 or better you can use NOT

if not ingroup("group1") and not ingroup("group2")
_________________________
How to ask questions the smart way <-----------> Before you ask