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.

Stop sending advertises on Join Flood

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
Z
Zircon
Op
Posts: 191
Joined: Mon Aug 21, 2006 4:22 am
Location: Montreal

Stop sending advertises on Join Flood

Post by Zircon »

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: Select all

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"

  }
}
User avatar
Kerbau
Voice
Posts: 12
Joined: Sat May 22, 2021 6:48 am
Location: mundok

Re: Stop sending advertises on Join Flood

Post by Kerbau »

good idea
Cross the line, Don`t cross your friends.
Post Reply