You may need to list what you tried or what kind of account you are using.... it should be as simple as putting in the Group Name, however if you are looking for a computer in a group, that requires another UDF.

for a user...
 Code:
if ingroup("Domain Users")
  ;do stuff
endif