GETGID()
From Lianjapedia
Function to get group identity
GETGID()
ACCESS(), GETENV(), GETGRNAM(), GETPID(), GETUID(), PUTENV(), STR()
The GETGID() function returns the group number of the user as a decimal value.
if getgid() > 100 and getgid() < 200 //... endif