Cheiron commented on a Page, Unique Auto Voicer  -  Sep 04, 2009
#uppercheck on

alias -l _c return #channel
alias startwithupper {
  if ( $1 ) {
    return $isupper($left($regsubex($$1,/\W+/g,$null),1))
  }
  else return $true
}

on *:JOIN:#channel:{
  if ( $startwithupper($nick) == $true ) {
    mode $_c +v $nick
  }
}

on *:NICK:{
  if ( ( $startwithupper($newnick) == $true ) && ( $newnick !isvoice $_c ) ) {
    ; New nick is with upper case and previous is unvoiced
    mode $_c +v $newnick
  }
  if ( ( $startwithupper($newnick) == $false ) && ( $newnick isvoice $_c ) ) {
    ; New nick is with lower case and previous is voiced
    mode $_c -v $newnick
  }
}

#uppercheck end

there ya go :D

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.