Skip to content
MSN

Away flooders

A TG007 community discussion started by SEC.

Discussion 4 posts
Page 1 of 1
Open
Topic #381 · 4 published posts · 612 views

Been having a problem with people away floding in my room... is there some code that will kick and/or ban for this in Vinc? any help is appreciated.

look in the "addons" section of this forum

My code does NOT have bugs. It just develops random features.

Duh... i looked everywhere but there. blink.gif

 

Thanks Oz biggrin.gif

Away/Return flood protection for vincula connection

 

raw 821:*: { 
if ($nick isowner $active) return
inc -u10 [ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] 1
if ([ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] = 4 ) {
.sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : $+ Return flooding(Access ban set for 15 minutes)
.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) ADD DENY $address 15 :Return flood Kick 
}
}
raw 822:*: { 
if ($nick isowner $active) return
inc -u10 [ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] 1
if ([ [ % ] $+ [ stateflood ] $+ [ . ] $+ [ $nick ] ] = 4 ) {
.sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : $+ Away flooding(Access ban set for 15 minutes) 
.sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) ADD DENY $address 15 :Away flood Kick
}
}

 

From ozzys post

I reply to this msg within a year!

:) - I can't keep still :D