egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Anti-Mass-Highlight

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
elron
Voice


Joined: 18 Mar 2007
Posts: 2

PostPosted: Sun Mar 18, 2007 3:05 pm    Post subject: Anti-Mass-Highlight Reply with quote

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!
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Mar 18, 2007 4:14 pm    Post subject: Reply with quote

Check the archive for spam and/or proxy ban scripts
Back to top
View user's profile Send private message
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Mon Mar 19, 2007 1:39 pm    Post subject: Reply with quote

Code:
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."
  }
}
Back to top
View user's profile Send private message
elron
Voice


Joined: 18 Mar 2007
Posts: 2

PostPosted: Tue Mar 20, 2007 9:45 am    Post subject: Reply with quote

thank you very much Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber