mIRC Homepage
Posted By: Ransyth Perm ban script - 05/07/04 01:59 AM
How would i go about createing a script that checks unbans to see if they wildcard match ones in a hashtable and if they do reban them?
Posted By: Seifer Re: Perm ban script - 05/07/04 06:10 AM
Code:
on @:UNBAN:#channel: {
  if ($hmatch(banlist,$banmask,1)) { .ban $chan $banmask }
}


Note: this code is untested but you should get the idea.
Posted By: TREMOR Re: Perm ban script - 10/07/04 05:23 PM
I made this complete script.

On @akick:join:#:mode # -o $nick | ban # $wildsite | kick # $nick Auto kicked.
menu nicklist {
auto kick
.Add
..add host:/auser akick $address($$1,2) | kick # $$1
..add ident:/auser akick $address($$1,3) | kick # $$1
.Del
..delete all:/rlevel akick
..delete one:/ruser akick $$?="hostname:"
.list:/ulist akick
}
© mIRC Discussion Forums