Thanks all for the replys. Howard's script would be perfect if I was able to add NT groups. It would also eliminate the need to ask the next question.

Here is what I'm going with:

code:
$groupArray = "GroupA","GroupB"..."GroupH"
IF INGROUP ($groupArray[@wdayno-1])
[do stuff]
ENDIF

My problem is that I have 8 goups and only 5 days people login. Any suggestions on how to combine 4 goups into 1 for the INGROUP?

D.