Combining checkbox selectors for unique results in jQuery

Combining checkbox selectors for unique results in jQuery

I have 3 checkboxes, and I want all combinations (about 8 or 9) of those checkboxes to display a different result, but I cannot work out how to do so. It feels like there's a simple way of doing this that I'm missing.

Here's the Frankenstein monster-code I have so far, which doesn't do what I'd like it to. The aim is that the following code sees that a user has has checked both the "webcam" (#checkWebcam) and "chat" (#checkChat) boxes, and that a different download link is being displayed based on that selection combo...

  1. jQuery('#checkWebcam, #checkChat, #checkSocial').change(function() {
  2.       var nowcnos = jQuery('#checkChat');
  3.       var nowcnoschecked = nowcnos.filter(':checked'); //Filter checked checkboxes
  4.       var nocnos = jQuery('#checkWebcam');
  5.       var nocnoschecked = nocnos.filter(':checked'); //Filter checked checkboxes
  6.       if(nowcnos.length == nowcnoschecked.length){ //if length are same
  7.             jQuery('div.strip.download').html('<a href="<?php echo $noc; ?>" class="btn btn-lg btn-to gradient-to">Download</a>');
  8.       } else if {(nocnos.length == nocnoschecked.length){ //if length are same
  9.             jQuery('div.strip.download').html('<a href="<?php echo $noc; ?>" class="btn btn-lg btn-to gradient-to">Download</a>');
  10.       } else {
  11.             jQuery('div.strip.download').html('<a href="<?php echo $download; ?>" class="btn btn-lg btn-to gradient-to">Download</a>');
  12.       }    
  13. });
Is there some way of doing this in jQuery or Javascript? So far I've only found solutions that kind of give yes/no answers, and not ones that consider the multiple different outcomes of the checkbox selections.