Hi Wanted To know how to halt on owner when Flood Kicker start to work as it keeps kicking owners lol
This Is on Dc Connection
Thank You
Hi Wanted To know how to halt on owner when Flood Kicker start to work as it keeps kicking owners lol
This Is on Dc Connection
Thank You
#PassPortf on
on *:SIGNAL:dc.chat.*: {
var %s = $signal , %c = $fchan , %n = $right($gettok($1,1,33),-1)
if ($nick isowner #) halt
if ($me isop $schan) && ($2 == JOIN) {
set -u2 %jc. [ $+ [ $schan ] ] $addtok(%jc. [ $+ [ $schan ] ],$right($gettok($1,1,33),-1),44)
if ($numtok(%jc. [ $+ [ $schan ] ],44) == 3) && (!%jb. [ $+ [ $schan ] ]) sockwrite -n %s access %c add deny *!*@*$* 2 :Flood Occurance
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 ] ]
}
}
if ($me isop $schan) && (*O iswm $gettok($3,3,44)) && (!%jb. [ $+ [ $schan ] ]) ss sockwrite -n %s access %c add deny $gettok($1,2,33) 6 :Spec Kick $crlf kick %c %n :Non-Subscriber(al)
}
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 2 :Passport Flooder } }
#PassPortf end
signals are a bit different. It has a few things that you need to do. I'll do the modifications, but basically it's more for those that actually can work with sockets.
#PassPortf on
on *: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) == 3) && (!%jb. [ $+ [ $schan ] ]) sockwrite -n %s access %c add deny *!*@*$* 2 :Flood Occurance
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 ] ]
}
}
if ($me isop $schan) && (*O iswm $gettok($3,3,44)) && (!%jb. [ $+ [ $schan ] ]) ss sockwrite -n %s access %c add deny $gettok($1,2,33) 6 :Spec Kick $crlf kick %c %n :Non-Subscriber(al)
}
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 2 :Passport Flooder } }
#PassPortf end
Though this code will only "not kick" of they come in with a hammer, meaning that they are on the access list or have the pass key.
Thanks Brov
Having a little problem on this code it kicking fine but i add a script user to let it in but it still kick
yes it does add as it should but it still kicks and changer user to scriptban any idea why here the code
#AntiBOT on
on @!*:join:#:{
if ($nick isop #) return
else /ctcp $nick
}
alias ctcp { ctcp $1 VERSION | ctcpreply $1 ”DTäE | ctcp $1 FINGER | ctcp $1 ISITVINCULA }
on *:CTCPREPLY:*:{
if (protect isin $level($address($nick,1))) || (Admin isin $level($address($nick,6))) halt
if ($1 == finger) || ($2 == vincula) goto scriptkick
if ($1 == VERSION) {
$iif(VERSION WebTV* iswm $1-2,$iif(%webtvkick,$true,$false),$true)) goto scriptkick
else goto scriptkick }
:scriptkick {
.sockwrite -tn dc.chat. $+ $cid access $hget(dc.chat. $+ $cid,fullroom) add deny $address 5 :Scriptkick
kick $active $nick (al)No Scripts Allowed(al)
auser permaban *! $+ $$ial($nick $+ *,1).addr $msn.decode($nick) (al)Script-Ban(al)
}
}
}
#antiBot end
on Admin:TEXT:!abot*:#:{ auser protect *! $+ $$ial($2-).addr $msn.decode($2-) | /msg # $2- has been added to Allowed Access list }
on Admin:TEXT:!rbot*:#:{ ruser protect *! $+ $$ial($2-).addr | /msg # $2- has been removed from Allowed Access list }
menu nicklist {
-
Allowed Script
.Add $msn.decode($$1) : .auser protect *! $+ $$ial($$1).addr $msn.decode($$1) | /msg # $$1 has been added to Allowed Access list
.Remove $msn.decode($$1) : .ruser protect *! $+ $$ial($$1).addr | /msg # $$1 has been removed from Allowed Access list
.Remove all allowed: .rlevel protect | /msg # Allowed Access For All Users Is Removed
-
}
I feel the user will not get added in admin access ,There is no msn.decode alias in dogcollar use dc.decode .I never tested it iam just presumming this may be the cause
.
There is nothing so absurd but some philosopher has said it
#AntiBOT on
on @!*:join:#:{
if ($nick isop #) return
else /ctcp $nick
}
alias ctcp { ctcp $1 VERSION | ctcpreply $1 ”DTäE | ctcp $1 FINGER | ctcp $1 ISITVINCULA }
on *:CTCPREPLY:*:{
if (protect isin $level($address($nick,1))) || (Admin isin $level($address($nick,6))) halt
if ($1 == finger) || ($2 == vincula) goto scriptkick
if ($1 == VERSION) {
$iif(VERSION WebTV* iswm $1-2,$iif(%webtvkick,$true,$false),$true)) goto scriptkick
else goto scriptkick }
:scriptkick {
.sockwrite -tn dc.chat. $+ $cid access $hget(dc.chat. $+ $cid,fullroom) add deny $address 5 :Scriptkick
kick $active $nick (al)No Scripts Allowed(al)
auser permaban *! $+ $$ial($nick $+ *,1).addr $msn.decode($nick) (al)Script-Ban(al)
}
}
}
#antiBot end
}
Well its good to see people using the codes from my superman script actually the msn.decode does work for some applications when travis and i made this code it worked great even though the admin was superman level..so maybe the in your modification cryton is right that u would need to check how the addy is being added to your list and try changing it to dc.decode..the msn.decode when i wrote it was just to add to user tabs for mirc..so that part dog collar does recognize..
-mimic
Well i just bin it as it
one kicks web t.v
two kicks even the people who are on protect list
See the remotes wether the persons are actually added in protection list .
There is nothing so absurd but some philosopher has said it
An edited one try it ![]()
#AntiBOT on
on @!*:join:#:{
if ($nick isop #) return
else /ctcp $nick
}
alias ctcp { ctcp $1 VERSION | ctcpreply $1 ”DTäE | ctcp $1 FINGER | ctcp $1 ISITVINCULA }
on *:CTCPREPLY:*:{
if (protect isin $level($address($nick,1))) || (Admin isin $level($address($nick,6))) halt
if ($1 == finger) || ($2 == vincula) goto scriptkick
if ($1 == VERSION) {
$iif(VERSION WebTV* iswm $1-2,$iif(%webtvkick,$true,$false),$true)) goto scriptkick
else goto scriptkick }
:scriptkick {
.sockwrite -tn dc.chat. $+ $cid access $hget(dc.chat. $+ $cid,fullroom) add deny $address 5 :Scriptkick $+ $crlf $+ kick $hget(dc.chat. $+ $cid,fullroom) $dc.fullnick($schan,$nick) :(al)No Scripts Allowed(al)
auser permaban *! $+ $$ial($nick $+ *,1).addr $dc.decode($nick) (al)Script-Ban(al)
}
}
}
#antiBot end
on Admin:TEXT:!abot*:#:{ auser protect *! $+ $$ial($2-).addr $dc.decode($2-) | /msg # $2- has been added to Allowed Access list }
on Admin:TEXT:!rbot*:#:{ ruser protect *! $+ $$ial($2-).addr | /msg # $2- has been removed from Allowed Access list }
menu nicklist {
-
Allowed Script
.Add $dc.decode($$1) : .auser protect *! $+ $$ial($$1).addr $dc.decode($$1) | /msg # $$1 has been added to Allowed Access list
.Remove $dc.decode($$1) : .ruser protect *! $+ $$ial($$1).addr | /msg # $$1 has been removed from Allowed Access list
.Remove all allowed: .rlevel protect | /msg # Allowed Access For All Users Is Removed
-
}
There is nothing so absurd but some philosopher has said it
Nope
version will kick web tv..but look at my code again...i have this:
if ($1 == VERSION) {
$iif(VERSION WebTV* iswm $1-2,$iif(%webtvkick,$true,$false),$true)) goto scriptkick
else goto scriptkick }
meaning if its a web tv user it wont kick
anyway dippy i didnt have any problems with it kicking a prtected user or anyone on superman level.. what are u trying to do??? amke it so it doesnt kick anyone on a pretected list.txt?
Yes or on admin list in var not on txt
And it does kick web t.v
well when i tested it it worked fine for me so not sure what u did...it wasnt kicking a protected or superman user and on my script it wasnt using a text file.. and i use it in a room of minimun of 50 peeps and we get web tv peeps in..ill go back and double check it again..but if u gonna use and release that code plz give travis and i credit..ty
Sign in to reply or start a new topic where your account has permission.