Tchatting.com Forums
mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks!

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2006, 11:11 AM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
flood pro

here is a very simple flood protection all you need to do is replace #YOURCHANNEL with your channel and then when someone floods 4 lines in 5 seconds it will kick him. This Works for me.




Code:
on *:start: {
  hmake flood 150
}
on *:text:*:#YOURCHANNEL: {
  if ($me isop $chan) {
    hinc -u5 flood $nick 1
    if ($hget(flood,$nick) > 4) {
      ban $chan $nick
      kick $chan $nick Banned For Typing More Than 4 Lines. 
      hdel flood $nick
    }
  }
}
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
IntelliType Pro and IntelliPoint 6.0 for Mac OSX Thugilex Technical Forum, Technical Aspects and Information 0 28-02-2006 06:47 PM
Query Flood Protection Cult mIRC :: SCRIPTING & HELP 2 22-08-2005 12:17 PM
novaPDF Pro 1.1 released Thugilex Technical Forum, Technical Aspects and Information 0 09-06-2005 03:52 PM
Testers to get downloadable Windows XP Pro x64 Edition Password Technical Forum, Technical Aspects and Information 2 29-05-2005 10:38 PM
Action flood shiah mIRC :: SCRIPTING & HELP 0 25-03-2005 07:35 PM

All times are GMT. The time now is 12:08 AM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
All data and information are copyright of DOTLeb Network