This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Anti-Mass-Highlight

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
e
elron
Voice
Posts: 2
Joined: Sun Mar 18, 2007 2:58 pm

Anti-Mass-Highlight

Post by elron »

Hello!

I have currently big problems with a user that is connecting to our network, joining our main channel and posting a list of all nicks in this channel (mainly in 3 parts divided)...
If he gets banned, he simply reconnects (or uses another proxy) and does the same once again...

Now the question: how can i stop him? Primary it would help if there is a script that kickbans everybody who is writing more than 5 nicks in one line.

Or is there anyway how to stop this at the server? (I'm using UnrealIRCd)

Thank you very much in advance!
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Check the archive for spam and/or proxy ban scripts
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Code: Select all

bind PUBM -|- * check:hilight

proc check:hilight {nick host h chan arg} {
  set arg [split $arg];
  set hits 0;

  foreach piece $arg {
    if {[onchan $piece $chan]} {
      incr hits;
    }
  }

  if {$hits >= 5} {
    putquick "MODE $chan +b [maskhost $host]"
    putquick "KICK $chan $nick :Problem solved."
  }
}
e
elron
Voice
Posts: 2
Joined: Sun Mar 18, 2007 2:58 pm

Post by elron »

thank you very much :D
Post Reply