I want to do a simple if to check if member of group1 or member of group2

there is probably a syntax to do the OR check but I just can't find it.
 Code:
If InGroup("group1") or If InGroup("group2")

use M: 

endif 


will that work ? or do I have to put a special syntax ?