Jethro commented on a Page, Level-based Ban Protection  -  Nov 27, 2011

I have an idea. This may prevail to accomplish the wildcard match:

on !@*:rawmode:#:{
  var %b = 1
  var %c = *!cDn@*|*2nd@*|*!*3rd@*|*!IDENT@*
  while ($gettok(%c,%b,124)) { 
    if ($wildtok($1-,$v1,1,124)) {
      mode # -b $v1
    }
    inc %b
  }
}
on @*:ban:#:{
  var %? = 1
  while (%? <= $ulist(*,100,0)) {
    if ($banmask iswm $ialchan($ulist(*,100,%?),#,1)) {
      mode # -b $v1
    }
    inc %?
  }
}

You basically add the keyword of any variation of the wildcard addresses as shown under the rawmode event, divided with a pipe for each one. If the ban mask consists of the keyword, the script will then remove the ban for you.

 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.