| Arcades | Library | Travel | MP3 | Directory | Horoscope | Downloads | Mobile | Movies | Gallery | PHP Group |
| mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
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
}
}
}
__________________
|
|
#3
|
||||
|
||||
|
Re: NickName Flood Protection
Cult, i need a Related thing
when some1 joins a channel his/her frnds shouts 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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |