Anti UNBAN

By LuisJose on May 26, 2010

Hi everyone :D
This again serves to block automatly the IP address that clean your operators on your channel:

The Re-ban is of 60 sec.

  • LuisJose sets mode: +b !@202.70.54.91
  • OtherOP sets mode: -b !@202.70.54.91
  • LuisJose sets mode: +b !@202.70.54.91
on @*:ban:#:{ if ($nick == $me) { hadd -m $+(#,.ban) $banmask $ctime } }
on @*:unban:#:{ if ($hget($+(#,.ban),$banmask) && $nick != $me) { ban -u60 # $banmask } } 

Comments

Sign in to comment.
Frine   -  May 29, 2010

Love You Jethro_ you are The man...

 Respond  
Jethro   -  May 26, 2010

You can use regex to go about this:

on !@*:rawmode:#: {
  if ($regex($1,/([+][^\-]*b)/)) {
    mode # $replace($regml(1),$chr(43),$chr(45)) $2
  }
}

This is just an example.

 Respond  
CrAnK   -  May 26, 2010
  • CrAnK sets mode: +b !@202.70.54.91
  • TestUser sets mode: -b !@202.70.54.91
  • CrAnK sets mode: +b !@202.70.54.91

this part of AntiUnBan is ok

  • TestUser sets mode: -b !@1.1.1.1.1
  • CrAnK sets mode: +b !@1.1.1.1.1

another @op make unban another IP with this codes @Ops make autoban

 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.