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

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 18-08-2005, 07:13 PM
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
Exclamation NickName Flood Protection

nick change flood protection, place it in your remotes

Code:
on @*:NICK: {
if ($nick !isreg $chan) { return }
  set -u5 %ST.nf. [ $+ [ $address ] ] $calc( %ST.nf. [ $+ [ $address ] ] + 1)
  if (%ST.nf. [ $+ [ $address ] ] >= 3)  { 
    var %i = 0
    while (%i < $comchan($newnick,0)) { 
      inc %i 
      if ($nick !isreg $comchan($newnick,%i)) { halt }       
      if ($me isop $comchan($newnick,%i)) {
        ban $comchan($newnick,%i) $newnick 2
        kick $comchan($newnick,%i) $newnick 4Stop Changing Nicks! ( $+ $ifmatch detected)
      }
    } 
  }
}
__________________

Last edited by Cult; 21-11-2005 at 08:02 PM.
Reply With Quote
  #2  
Old 21-02-2006, 11:18 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
Re: NickName Flood Protection

I think this is faster .

This snippet will detect a user when he tries to change the nick more than 3 timess in 5 seconds and will kickban him.

Code:
on *:nick:{
  inc -u5 %nick. [ $+ [ $address($newnick,2) ] ]
  if (%nick. [ $+ [ $address($newnick,2) ] ] >= 3) {
    var %i = 1
    while ($comchan($newnick,%i)) {
      if ($me isop $ifmatch) {
        ban $comchan($newnick,%i) $newnick
        kick $comchan($newnick,%i) $newnick Stop Changing nicks plz.
      }
      inc %i
    }
  }
}
__________________
Reply With Quote
  #3  
Old 18-03-2006, 11:49 AM
AYEHAN's Avatar
AYEHAN AYEHAN est déconnecté
Registered User
 
Join Date: Mar 2006
Location: Houston
Posts: 26
AYEHAN is on a distinguished road
Send a message via ICQ to AYEHAN Send a message via AIM to AYEHAN Send a message via MSN to AYEHAN Send a message via Yahoo to AYEHAN
Re: NickName Flood Protection

Cult, i need a Related thing

when some1 joins a channel his/her frnds shouts

Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick Joined-Nick

can we set a warning for Nick that nick shouting(type a nick more then 5-6 time in one message) isnt allowed if u did this again u will be kicked from channel. for dis script will save his nick for 1 hour, if he didnt shout in 1 hour nick will remove else he will ghet kick/ban.
__________________
I Am LOVE But You Can Call Me AYEHAN
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
[Request] Channel Flood Protection AYEHAN mIRC :: SCRIPTING & HELP 12 07-04-2006 06:34 PM
flood pro Cult mIRC :: SCRIPTING & HELP 0 07-02-2006 11:11 AM
Query Flood Protection Cult mIRC :: SCRIPTING & HELP 2 22-08-2005 12:17 PM
CTCP Flood Protection Cult mIRC :: SCRIPTING & HELP 0 18-08-2005 07:06 PM
The Best NickName! Messenger The Lounge 64 23-03-2005 01:16 AM

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