Replace your select statement with this, and it should give you some information on the screen.

 Code:
SELECT
   case INGROUP("students")
      @UserID +" was found to be in the students group"?
      $icsstudentprefix=LEFT(@USERID,2)
      "Student Prefix is " + $icsstudentprefix?
      SELECT
         case $icsstudentprefix="s-"
            "Student Prefix matched s-"?
            $x=gci_mapdrive("U","\\ICS08\"+@USERID+$hide)
            $x=gci_mapdrive("V","\\ICS04\student")
            $x=gci_mapdrive("w","\\ICS04\icsstudent")
	    
         case 1
            "Student Prefix did not match s-"?
            ;for non ics student-teacher logons
	    $x=gci_mapdrive("U","\\ICS02\"+@USERID+$hide)
;           $x=gci_mapdrive("U","\\ICS04\"+@USERID+$hide)
            $x=gci_mapdrive("V","\\ICS04\student")
	    $x=gci_mapdrive("w","\\ICS04\icsstudent")
            $x=gci_mapdrive("S","\\ICS08\SAM2003")
      ENDSELECT
   	case 1
      @UserID +" Did not match group Students"?
;     for non students
;      $x=gci_mapdrive("U","\\ICS02\"+@USERID+$hide)


;ENDSELECT
_________________________
Today is the tomorrow you worried about yesterday.