Like Glenn already said you should match the if's with endif's.
Also the parentheses in the third if statement are not necessary and I changed the logic a bit on the third if statement so that it does whatever you specify there when the user is not in A and not in B.

See the example below.

 Code:
If InGroup("A")
	;Do stuff
EndIf

If InGroup("B")
	;Do stuff
EndIf	

If Not InGroup("A") And Not InGroup("B")
	;Do stuff
EndIf



[edit]
Did not see Glenn's example until I submitted \:\(
[/edit]


Edited by Mart (2008-10-27 04:45 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.