Antiflood.. another..

By juhapuha on Jul 21, 2007

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.

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

Sign in to comment.
juhapuha   -  Jul 22, 2007

lol, i didn\'t check, with on :text::#:{ it works.. so no reason to be so fucking nuicanse.

 Respond  
vodkaplayer   -  Jul 21, 2007

You should post that in the mIRC request section cause that\'s totally wrong
on *:text:#:{
lol...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.