Steve,
If you comment out the IF you also MUST comment out the ENDIF!

Are you still messing with KiX 3.61? Download 4.12 and try a test script with just the IF INGROUP().
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.