Rhys Posted December 12, 2005 Report Share Posted December 12, 2005 I need a nice and simple scroll kick for my channel. i would like it to warn 1st time, kick 2nd and ban 3rd if you could, if not i'll do that thanks Link to comment Share on other sites More sharing options...
Rhys Posted December 14, 2005 Author Report Share Posted December 14, 2005 anyone? Link to comment Share on other sites More sharing options...
trendwhore Posted December 15, 2005 Report Share Posted December 15, 2005 #fjoin on on ^*:join:#:{ if ($nick == $me || $nick isop # ) { return } inc -z % $+ $gettok($address,1,64) 5 if ( % [ $+ [ $gettok($address,1,64) ] ] > 10 ) { access # add DENY *! $+ $gettok($address,1,64) 15 : JoinFlood $nick | kick # $nick JoinFlood (15 min. Ban) } } #fjoin end #fscroll on on ^*:TEXT:*:#:FloodCheck $1- on ^*:ACTION:*:#:FloodCheck $1- on ^*:NOTICE:*:#:FloodCheck $1- #fscroll end #fctcp on ctcp *:*:*: { FloodCheck $1- } #fctcp end #faway on raw 821:*:FloodCheck $1- raw 822:*:FloodCheck $1- #faway end alias FloodCheck { if ($nick == $me ) || $nick isop $iif(#,#,%room) { return } var %h $hash($left($1-,100),32) inc -z % $+ $gettok($address,1,64) $+ . $+ %h 5 if ( % [ $+ [ $gettok($address,1,64) ] $+ . $+ [ %h ] ] > 15 ) { access $iif(#,#,%room) add DENY *! $+ $gettok($address,1,64) 5 : $nick - Flood | kick $iif(#,#,%room) $nick Flood (5 min. Ban) } } its not what you asked for but better direct then have a warning to them well you take it or not youre choice byee Link to comment Share on other sites More sharing options...
Rhys Posted December 15, 2005 Author Report Share Posted December 15, 2005 nah thats way too complicating. i just need one which will kick if they say more then 3 lines in 2 seconds (or whatever is usually right) Link to comment Share on other sites More sharing options...
The Gate Keeper Posted December 15, 2005 Report Share Posted December 15, 2005 on @1:TEXT:#: fcount text on @1:NOTICE:#: fcount notice on @1:ACTION:#: fcount action alias fcount { if (%fcount. [ $+ [ $1 ] $+ . $+ [ $nick ] ]) inc %fcount. [ $+ [ $1 ] $+ . $+ [ $nick ] ] else set -u2 %fcount. [ $+ [ $1 ] $+ . $+ [ $nick ] ] 1 if (%fcount. [ $+ [ $1 ] $+ . $+ [ $nick ] ] == 3) { access $chan add deny $ial($nick).addr 15 :Scroll Flooding kick $chan $nick Scroll Flooding } } This should work out for ya. Link to comment Share on other sites More sharing options...
Rhys Posted December 15, 2005 Author Report Share Posted December 15, 2005 thanks, works fine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now