| 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
|
||||
|
||||
|
on @*:TEXT:*:#:{
if ($nick !isreg $chan) { return } var %ST.tr = $strip($1-) inc -u5 %ST.rp. [ $+ [ $hash($nick $chan %ST.tr,32) ] ] if (%ST.rp. [ $+ [ $hash($nick $chan %ST.tr,32) ] ] == 3) { ban # $nick 2 kick # $nick Repeating ( $+ $ifmatch in less then 5 Seconds) } }
__________________
|
|
#2
|
||||
|
||||
|
Re: Repeat Protection
edited, better performance
PHP Code:
__________________
|
|
#3
|
||||
|
||||
|
Re: Repeat Protection
Code:
ON @*:TEXT:*:#: {
if ($nick !isreg $chan) { halt }
repeatcheck $1-
}
ON @*:ACTION:*:#: {
if ($nick !isreg $chan) { halt }
repeatcheck $1-
}
ON @*:NOTICE:*:#: {
if ($nick !isreg $chan) { halt }
repeatcheck $1-
}
alias repeatcheck {
if (!$hget(repeatcheck)) { hmake repeatcheck 100 }
var %m = $+($md5($1-),$site,$cid,$chan)
hinc -u15 repeatcheck %m
var %i = $hget(repeatcheck,%m)
if (%i >= 3) {
ban -ku300 $chan $nick 2 Please stop repeating
}
}
__________________
|
![]() |
| 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 |
| Query Flood Protection | Cult | mIRC :: SCRIPTING & HELP | 2 | 22-08-2005 12:17 PM |
| Company Offers Workaround for Sony's CD Copy Protection | Thugilex | Technical Forum, Technical Aspects and Information | 0 | 21-06-2005 08:43 PM |
| Microsoft seeks protection from spyware firms | Password | Technical Forum, Technical Aspects and Information | 0 | 25-05-2005 09:11 AM |
| [CNN LATEST] Panda protection goes high-tech | Articles | Main Forum | 0 | 04-04-2005 02:00 PM |