| View previous topic :: View next topic |
| Author |
Message |
[JoNi] Voice
Joined: 21 Aug 2007 Posts: 15
|
Posted: Tue Aug 28, 2007 4:57 pm Post subject: |
|
|
Allprotection4.b7 gives me an error.
Tcl error [::AllProtection::pubms adv]: can't read "offenders": no such variable |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Aug 28, 2007 6:14 pm Post subject: |
|
|
I guess I should upload my edited version of the script which has all these little bugs fixed. However for a fast fix, read my 11th post here. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
[JoNi] Voice
Joined: 21 Aug 2007 Posts: 15
|
Posted: Tue Aug 28, 2007 7:11 pm Post subject: |
|
|
| Sir_Fz wrote: | | I guess I should upload my edited version of the script which has all these little bugs fixed. However for a fast fix, read my 11th post here. |
thanks  |
|
| Back to top |
|
 |
Aut0Cr0ss Voice
Joined: 15 Jun 2007 Posts: 19
|
Posted: Wed Sep 12, 2007 7:58 am Post subject: |
|
|
when The Anti-spam bot detect an spammer. Bot just ban the spammer ip.
what about making it kickban the spammer! |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Wed Sep 12, 2007 9:36 am Post subject: |
|
|
| Aut0Cr0ss wrote: | when The Anti-spam bot detect an spammer. Bot just ban the spammer ip.
what about making it kickban the spammer! |
It does kickban them if they are in the channel. |
|
| Back to top |
|
 |
Aut0Cr0ss Voice
Joined: 15 Jun 2007 Posts: 19
|
Posted: Wed Sep 12, 2007 1:20 pm Post subject: |
|
|
| Quote: | | It does kickban them if they are in the channel. |
they are. but it just ban the ip. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Sep 12, 2007 4:31 pm Post subject: |
|
|
| Aut0Cr0ss wrote: | | Quote: | | It does kickban them if they are in the channel. |
they are. but it just ban the ip. |
If you have kb in your punishment method, then it kick-bans the spammer (if it's not in the channel then the bot only bans its IP). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Wed Sep 12, 2007 4:42 pm Post subject: |
|
|
| Quote: | | they are. but it just ban the ip. |
I think it s becoz u have in your settings for ap:adv, u have the punishment type "b" which is Ban, instead of "kb" which is KickBan
Try this in the paryline, i think it s gonna work :
.chanset #channel ap:adv + ban-time kb ban-type
Of course, u specify ur own #channel, ban-time and ban-type. |
|
| Back to top |
|
 |
Aut0Cr0ss Voice
Joined: 15 Jun 2007 Posts: 19
|
Posted: Wed Sep 12, 2007 9:06 pm Post subject: |
|
|
| Quote: | | If you have kb in your punishment method, then it kick-bans the spammer (if it's not in the channel then the bot only bans its IP). |
I left it as default.
lappend ap:udefs {ap:adv "+ 180 kb 2"} |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Sep 13, 2007 3:59 pm Post subject: |
|
|
It doesn't matter what you have in the script, what matters is the channel-setting (see .chaninfo #channel). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Hesham Voice
Joined: 30 Jun 2007 Posts: 6
|
Posted: Thu Sep 13, 2007 8:24 pm Post subject: |
|
|
using Eggdrop v1.6.18
using allfloodprotection4.6b7
had this error!
| Code: |
(02:16:10) <(ChanSrv> [00:19] Creating ap:bcodes (type 3)
(02:16:10) <(ChanSrv> [00:19] Tcl error in file 'eggdrop.conf':
(02:16:10) <(ChanSrv> [00:19] wrong # args: should be "regsub ?switches? exp string subSpec varName"
(02:16:10) <(ChanSrv> while executing
(02:16:10) <(ChanSrv> "regsub -all {\s{1,}} $apbc " ""
(02:16:10) <(ChanSrv> (procedure "sv" line 9)
(02:16:10) <(ChanSrv> invoked from within
(02:16:10) <(ChanSrv> "sv"
(02:16:10) <(ChanSrv> (procedure "rd" line 8)
(02:16:10) <(ChanSrv> invoked from within
(02:16:10) <(ChanSrv> "rd"
(02:16:10) <(ChanSrv> (procedure "load" line 50)
(02:16:10) <(ChanSrv> invoked from within
(02:16:10) <(ChanSrv> "load"
(02:16:10) <(ChanSrv> (in namespace eval "::AllProtection" script line 2567)
(02:16:10) <(ChanSrv> invoked from within
(02:16:10) <(ChanSrv> "namespace eval AllProtection {
(02:16:10) <(ChanSrv>
(02:16:10) <(ChanSrv> # Basic declarations: (don't touch)
(02:16:10) <(ChanSrv> variable declr
(02:16:10) <(ChanSrv> foreach declr {textl text
(02:16:10) <(ChanSrv> [00:19] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
|
[/code] |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Sep 14, 2007 6:12 am Post subject: |
|
|
Either update your Tcl version or replace
| Code: | | puts $apf "$list $apc [string trim [regsub -all {\s{1,}} $apbc " "]]" |
with
| Code: | regsub -all {\s{1,}} $apbc " " apbc
puts $apf "$list $apc [string trim $apbc]" |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
i.m.offline Halfop
Joined: 02 Mar 2006 Posts: 74
|
Posted: Thu Sep 20, 2007 2:14 am Post subject: ban on excess clones!! |
|
|
I certainly have noticed that my bot is not kicking excess clones in the channel. I couldn't figure out why is that happening, can't see any error either on partyline.
My bot's excess clones setting is
| Code: | | ap:clones: {4 35 kb 2} |
and yes I have set as well.
I tried to join 3/4/5/6 clones but nothing. Please suggest me, what could have been wrong :s[/code] |
|
| Back to top |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Thu Sep 20, 2007 2:40 am Post subject: |
|
|
Hello i.m.offline
I have this setting : | Quote: | | ap:clones: {4 1440 kb 2} |
and it s fully working. If they are 4 clones or more, the bot ban their address and kick ALL of them. Maybe your clones are having the +f flag. |
|
| Back to top |
|
 |
i.m.offline Halfop
Joined: 02 Mar 2006 Posts: 74
|
Posted: Thu Sep 20, 2007 2:51 am Post subject: |
|
|
| Zircon wrote: | Hello i.m.offline
I have this setting : | Quote: | | ap:clones: {4 1440 kb 2} |
and it s fully working. If they are 4 clones or more, the bot ban their address and kick ALL of them. Maybe your clones are having the +f flag. |
Thanks mate for the suggestion. sorted out. Thanks again
seems I messed up in identd  |
|
| Back to top |
|
 |
|