Top

Antiflood.. another..


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  1.0 (of 1 scores)
Date Added  Jul 21, 2007
Last Updated  Jul 22, 2007
Tags  anti  flood  protection 

Introduction

This script bans user who is not opped, and messages 4 lines in 4 seconds for 10 minutes.
please add this pease of script too, but in a new remote file: on *:text:!antiflood*:#:{ if ($nick isop $chan) && ($2 == on) || ($2 == off) { set %antiflood. $+ [ $chan ] ] $2 | notice $nick Antiflood set
$2 }
else { if ($nick !isop $chan) { notice $nick You have no access to this command. }
else { if ($nick isop $chan) && ($2 != on) && ($2 != off) { notice $nick right format is: !antiflood on/off }
}
}
}
#FIXED little bug, thank you for vodkaplayer i love u too.

Grab the Code

on *:text:*:#:{ if ($nick !isop $chan) && (%flood. [ $+ [ $chan ] ] == on) && (%lines. [ $+ [ $nick ] ] == 4) { 
.kick $chan $nick Do not flood! Banned dor 10 minutes. 
.unset %lines. [ $+ [ $nick ] ] 
.mode $chan +b $address($nick,1) 
.timer 1 600 mode $chan -b $address($nick,1) } 
if { (!$nick !isop $chan) && (%lines. [ $nick ] ] != 4) && (%flood. [ $+ [ $chan ] ] == on) { 
inc %lines. $+ $nick | timer 1 4 unset %lines. $+ $nick } 
}

Comments

  (2)  RSS
vodkaplayer
Comments: 2
 
mIRC Snippet:  Antiflood.. another..
Posted on Jul 21, 2007 10:12 pm
You should post that in the mIRC request section cause that's totally wrong
on *:text:#:{
lol...
juhapuha
Comments: 73
 
mIRC Snippet:  Antiflood.. another..
Posted on Jul 22, 2007 3:01 am
lol, i didn't check, with on *:text:*:#:{ it works.. so no reason to be so !@#$ nuicanse.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom