Hi i would like to know if there is a way in kix to deny a group of users to logon monday - thursday from 1pm - 3pm

i am using the following to deny users to logon specifik workstations

IF LEFT(@WKSTA,3) = "LPC"
IF LEFT(@USERID,1) = "e"
$logof = logoff(1)
ENDIF
ENDIF


I have tried different methods with this as a "base"

IF INGROUP ("Elever") > 0

"check if it is mon,tue,we,thur AND tehe time is

$logof = logoff(1)
ENDIF

Any sugestions ?

Regards Glenn