$dirtype = $1 || 'other' if($in{username} =~ /^(\[a-zA-Z]{2})/ || ' ');