op auto unban

By silent.nahid on Jul 12, 2009

this is my first post.hope u will like dis script.its a code for the operators..when any operator gets himself banned in the channel..dis script unbans him/her automatically.

on *:BAN:#:{
  if ($banmask iswm $address($me,5)) {
    if $me != nick {
      nick <ur op nick> | ns identify <password>
      msg ChanServ op # <ur op nick>
      msg ChanServ unban # $banmask
      mode # -b $banmask
    }
    else {
      msg ChanServ op # <ur op nick here>
      msg ChanServ unban # $banmask
      mode # -b $banmask
    }
  }
}

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.