How do I use the INGROUP command when I want to affect several global groups?

We can manage the script with one group, but when we add another group, the the script does not work anymore. What is the correct syntax?