ComputerInGroup('domain computers')

as in:

if ComputerInGroup('domain computers')
? "I'm a member"
endif

but don't forget to put the UDF in the script
Read the FAQ forum on how to use UDFs if you don't know.
_________________________
How to ask questions the smart way <-----------> Before you ask