Use an array, they're really not that scary.

code:
$asGroupPerDay="Group1","Group2"...,"GroupLast"
If InGroup($asGroupPerDay[@WDAYNO-1])
...Do your funky thing...
EndIf