Tim34taft Posted January 2, 2012 Report Share Posted January 2, 2012 Hello everyone The following Emote Flood Kicker works on my script , I want it to Add DENY in access for 1 minute instead of just kicking flooder out on *:TEXT:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) { sockwrite -n sock.server access # add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood. kick # $nick No emote flooding please! } } on *:ACTION:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) { sockwrite -n sock.server access # add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood. kick # $nick No emote flooding please! } } raw 822:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) { sockwrite -n sock.server access $comchan($nick,1) add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood. kick $comchan($nick,1) $nick No emote flooding please! } } raw 821:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 25) >= 1000 ) { sockwrite -n sock.server access $comchan($nick,1) add deny $ial($nick).user 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood. kick $comchan($nick,1) $nick No emote flooding please! } } Link to comment Share on other sites More sharing options...
err0r Posted January 2, 2012 Report Share Posted January 2, 2012 could be that the socket name isn't correct.. try access # add deny $address($nick,1) 0 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flood. Link to comment Share on other sites More sharing options...
Tim34taft Posted January 2, 2012 Author Report Share Posted January 2, 2012 (edited) Thanks err0r I got it to work with your Code on *:TEXT:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) { sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding kick # $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding } } on *:ACTION:*:#:{ if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) { sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding kick # $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding } } raw 822:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) { sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding kick $comchan($nick,1) $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding } } raw 821:*: { if ($nick !isop #) && ($calc($regex($1-,/[@\50\51\174\55&+~>#<}{$;*:^](|d|p|rb|)/g) * 35) >= 1000 ) { sockwrite -n sock.server access $1 add deny $+(*!*, $Ial($nick,1).Addr) 3 :Emote Flooding kick $comchan($nick,1) $nick No emote flooding please! | access # add deny $address($nick,1) 1 -> $replace($nick,>,Guest_) was banned by $me on $date at $time(h:nn:ss tt) for Mass Emote Flooding } } Edited January 2, 2012 by Tim34taft Link to comment Share on other sites More sharing options...
err0r Posted January 2, 2012 Report Share Posted January 2, 2012 yw Link to comment Share on other sites More sharing options...
Tim34taft Posted January 3, 2012 Author Report Share Posted January 3, 2012 Sorry I'm back my chatters got pissy cause they cant post more emotes is there a way to adjust the amounts of emotes they can post i tried to adjust these numbers with no luck 35) >= 1000 Link to comment Share on other sites More sharing options...
Tim34taft Posted January 3, 2012 Author Report Share Posted January 3, 2012 Sorry nevermind Warrior got it to allow more emotes but adjusting it lower instead of higher with 15) >= 1000 ) Thank you err0r and Warrior for all your help I now have the perfect Emote kicker and will be ready :D:D Link to comment Share on other sites More sharing options...
Warrior Posted January 3, 2012 Report Share Posted January 3, 2012 Your Very Welcome Tim 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