in the case of an automatic voice-on-join:

Code:
on @*:JOIN:#channel: {
  ; check if the nick is not the same as the CAPS equivalent of the nick (!== caps sensitive inverted comparison)
  if ($upper($nick) !== $nick) mode $chan +v $nick
}


If it ain't broken, don't fix it!