Author Topic: selective ban replies  (Read 1255 times)

0 Members and 1 Guest are viewing this topic.

Offline slasherx

  • Occasional poster
  • *
  • Posts: 98
    • View Profile
selective ban replies
« on: August 15, 2009, 08:22:50 AM »
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.

Offline maverick

  • Tireless poster
  • ****
  • Posts: 1052
  • Computer Solutions
    • View Profile
selective ban replies
« Reply #1 on: August 15, 2009, 12:16:06 PM »
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.

That option is already available.  At the time you ban an IP you have the option to either leave a comment or not.
maverick

Offline slasherx

  • Occasional poster
  • *
  • Posts: 98
    • View Profile
selective ban replies
« Reply #2 on: August 16, 2009, 04:01:00 AM »
can we get an option to no reply for some ips that we ban, but also allow reply for some ip's we ban.

That option is already available.  At the time you ban an IP you have the option to either leave a comment or not.

nope, what i mean is i want to have an option to not allow reply for some banned ips i choose, and some that i ban i want them to be able to get a reply from server.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12953
    • View Profile
Re: selective ban replies
« Reply #3 on: August 17, 2009, 08:52:57 AM »
if you meant something like the "disconnect with no reply" option already available, then yes, you can do it with a simple script.

just disable that option, and use this event script (UNTESTED!)

[+request]
{.if|{.match address|{.$ban-list.}|%ip%.}|{:{.disconnect.}:}.}

[ban-list]
151.123.232.2;10.0.0.*

Offline slasherx

  • Occasional poster
  • *
  • Posts: 98
    • View Profile
Re: selective ban replies
« Reply #4 on: August 19, 2009, 10:57:44 AM »
thanks working great.