Identified Nick Autovoice

By Errr on Mar 10, 2022

Scripts whois users on join and sets +v ( voice ), if the nick is identified.

on *:join:#:{
  if ($nick != $me) { 
    set %whois. $+ $nick $chan 
    whois $nick 
  }
}

raw 307:*:{ 
; some of the services show "*is identified* or *is logged on as*."
; change it according to it.
  if ($4 == logged ) { 
    mode %whois. [ $+ [ $2 ] ]  +v $2
    unset %whois. $+ $2  
  }
  haltdef 
}

change the following line according to your services.
if ($4 == logged )

Comments

Sign in to comment.
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.