mIRC Homepage
Posted By: dnbull Is this script possible? - 03/11/05 12:10 AM
Hello, I want a script that when people join they get automatic ban, i'm doing this for a reason.

If chanserv can do this can anyone tell me how?
Posted By: le_soap Re: Is this script possible? - 03/11/05 12:12 AM
type !addban *!*@hostname

- le soap
Posted By: SladeKraven Re: Is this script possible? - 03/11/05 12:24 AM
le_soap:

Please note, not everyone will have the ability to type "!addban" to add addresses to the ban list.

dnbull:

To stop users joining the channel here's how you can put a ban on everyone.

/mode #channel +b *!*@*

Or when they join..

Code:
On @*:Join:#channel: {
  ban $chan $nick 2
}


Add the -k switch if you want to kick also..

**Note: /chanserv help will also list help whether it supports Ban Management or Akick.

-Andy
Posted By: dnbull Re: Is this script possible? - 03/11/05 12:31 AM
What about making it not banning USERS like if its a op.
Posted By: SladeKraven Re: Is this script possible? - 03/11/05 12:41 AM
Code:
On @*:Join:#channel: {
  .timer 1 [color:blue]3[/color] if $nick !isop $chan ban $chan $nick 2
}


That gives them 3 seconds, if they aren't opped they get banned.

-Andy
Posted By: dnbull Re: Is this script possible? - 03/11/05 12:52 AM
Timer doesn't work I believe is there something wrong ?

Thanks for the help so far though.

EDIT: how can I make it for chanserv to do it as well ?
Posted By: BeYonD_Me Re: Is this script possible? - 03/11/05 08:33 AM
Quote:
EDIT: how can I make it for chanserv to do it as well ?

If your irc network supports AKick List, you can add nick or mask to the list and when users previously added attempt to join your channel, chanserv will ban and kick them.
© mIRC Discussion Forums