hey guys,i've been looking everywhere for a passport flood protection that actually bans all the nicks onjoin and not just setting the room to +i but i couldnt find any,i found sum that actually gets dc even while /remote off
my friend is using dogcollar and this one works for him.. but i dont know how to change it to make it work in vincula
#PassPortf onon *:SIGNAL:dc.chat.*: {
var %s = $signal , %c = $fchan , %n = $right($gettok($1,1,33),-1)
if ($me isop $schan) && ($2 == JOIN) && ($gettok($3,4,44) != .) {
set -u2 %jc. [ $+ [ $schan ] ] $addtok(%jc. [ $+ [ $schan ] ],$right($gettok($1,1,33),-1),44)
if ($numtok(%jc. [ $+ [ $schan ] ],44) == 4) && (!%jb. [ $+ [ $schan ] ]) sockwrite -n %s access %c add deny *!*@*$* 2 :Flood lockdown
elseif ($numtok(%jc. [ $+ [ $schan ] ],44) == 5) {
completekick %s $schan
.timercomplete. $+ $schan -h 1 500 completekick %s $schan
set -u10 %jb. [ $+ [ $schan ] ] $true
unset %jc. [ $+ [ $schan ] ]
}
}
}
alias completekick { if (%jc. [ $+ [ $2 ] ]) { .sockwrite -n $1 KICK $fchan %jc. [ $+ [ $2 ] ] :Passport Flood } }
on @!*:JOIN:#: { if (%jb. [ $+ [ $chan ] ]) && (*@GateKeeper !iswm $address) { .timerban. $+ $address 1 10 ss access $chan add deny $address 10 :PP Flood
#PassPortf end