if you put this at the start of your script, just simple:
code:
if ingroup("domain admins") exit 0 endif

does the job.
after that line you can add the normal script for domain users.
anyway, for the style you stated (longer one with pretty much same func) it would look like:
code:
if ingroup("domain users") and not ingroup("domain admins")
;script
else exit 0
endif
;some additional stuff in script

anyway, I would prefer the exit immediately for speeds and simplicity's sake.

cheers
_________________________
!

download KiXnet