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 

Stop sending advertises on Join Flood

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


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Thu Oct 11, 2007 3:12 pm    Post subject: Stop sending advertises on Join Flood Reply with quote

Hi all

I have this little script that send a notice to everyone joining the channel. I want to prevent the bot from being laggued when there is a join flood. So i want the bot stop sending notices for 1 min, when there is 3 joins (or more) in 1 second. Thanks in advance

Code:
bind join -|- * join_culture
proc join_culture {nick host hand chan} {
  if {$chan == "#culture"} {
puthelp "NOTICE $nick :tapez !help dans #culture pour avoir la liste des commandes"

  }
}
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