I'm trying to get to grips with this scripting thingy, could this work??

SELECT
CASE INSTR(@WKSTA,"ChCitrix")
RETURN
if instr(@WKSTA,"chcitrixf")
gosub NoUpdate
end if
CASE INGROUP ("GN3_Users")
run "\\gn3cluster\gn3\globals\gn_progs\update32.exe c:\tera\bin \\gn3cluster\gn3\globals"
ENDSELECT

:NoUpdate

Ta