I'd second the array solution, but if it scares you too much you could do it as well like this :

break on

$1 = GROUPA
$2 = GROUPB
$3 = GROUPC

$_ = execute("$$TodaysGroup=$$@wdayno")

if ingroup($TodaysGroup)
;do stuff
endif
_________________________