| View previous topic :: View next topic |
| Author |
Message |
Bhola420 Voice
Joined: 05 Dec 2010 Posts: 6
|
Posted: Mon Dec 27, 2010 1:40 am Post subject: |
|
|
i downloaded the fresh copy, and set channel limit to 0 to disable it, i had this
| Code: | <Sipahi> Rehashing.
<Sipahi> [04:31:07] Rehashing ...
<Sipahi> [04:31:07] AllProtection v4.7 successfully unloaded...
<Sipahi> [04:31:07] Listening at telnet port 48790 (all).
<Sipahi> [04:31:07] Listening at telnet port 48820 (all).
<Sipahi> [04:31:07] Listening at telnet port 48850 (all).
<Sipahi> [04:31:07] Listening at telnet port 48880 (all).
<Sipahi> [04:31:07] Listening at telnet port 48910 (all).
<Sipahi> [04:31:07] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
<Sipahi> [04:31:07] use '.help userinfo' for commands.
<Sipahi> [04:31:07] Tcl error in file 'Sipahi.conf':
<Sipahi> [04:31:07] unmatched open quote in list
<Sipahi> while executing
<Sipahi> "lrange $apl 2 end"
<Sipahi> (procedure "rd" line 5)
<Sipahi> invoked from within
<Sipahi> "rd"
<Sipahi> (procedure "load" line 49)
<Sipahi> invoked from within
<Sipahi> "load"
<Sipahi> (in namespace eval "::AllProtection" script line 2641)
<Sipahi> invoked from within
<Sipahi> "namespace eval AllProtection {
<Sipahi>
<Sipahi> # Basic declarations: (don't touch)
<Sipahi> variable declr
<Sipahi> foreach declr {textl textc notcl notcc capsp repeatf codesf adexemp..."
<Sipahi> (file "scripts/allprotection4.7.tcl" line 151)
<Sipahi> invoked
<Sipahi> [04:31:07] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
|
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Dec 28, 2010 2:29 pm Post subject: Re: AllProtection v4.7: ap:nickf: {2:60 180 w:k:kb 2} |
|
|
| Diamond85 wrote: | ...
I now have a new problem: I have 2 nick changes made in 60 seconds.
if the user changes nicks now 2 times the bot will first warn then kick and then kickban.
the only thing he does is just warn. and then only after changing x nick kick. with reason Banned
... |
Can you please apply the following, in the "nickf" clause inside procedure [nicks]. Replace $nick at line 1573 with $nn, so it should look like this:
| Code: | "nickf" {
foreach {o s} [cgsplit $off] {break}
if {[invalid:apf $o $s]} {return 0}
checkf $s $o nckflood:[string tolower $uhost:$chan] $uhost $chan $pmeth $nn {$o changes} $btype $btime nickflood
} |
Make sure you rehash and please tell me what happens. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Dec 28, 2010 2:30 pm Post subject: |
|
|
| Bhola420 wrote: | i downloaded the fresh copy, and set channel limit to 0 to disable it, i had this  |
Please delete the file aplists and try again (it should be located in the scripts/ directory). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Diamond85 Voice
Joined: 25 Oct 2008 Posts: 27
|
Posted: Tue Dec 28, 2010 10:21 pm Post subject: Re: AllProtection v4.7: ap:nickf: {2:60 180 w:k:kb 2} |
|
|
| Sir_Fz wrote: |
Can you please apply the following, in the "nickf" clause inside procedure [nicks]. Replace $nick at line 1573 with $nn, so it should look like this:
| Code: | "nickf" {
foreach {o s} [cgsplit $off] {break}
if {[invalid:apf $o $s]} {return 0}
checkf $s $o nckflood:[string tolower $uhost:$chan] $uhost $chan $pmeth $nn {$o changes} $btype $btime nickflood
} |
|
it works beautifully. many thanks! If I find another error, I say modest  |
|
| Back to top |
|
 |
samhain Halfop
Joined: 03 Jan 2007 Posts: 77
|
Posted: Fri Jan 07, 2011 2:32 pm Post subject: |
|
|
| I've a problem using allprotection4.7b9.tcl it gives lots of errors... but the worst part is that the bot never saves the settings assigned by my commands in DCC... it goes back to the default settings everytime what could be the problem? |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Fri Jan 07, 2011 6:28 pm Post subject: |
|
|
Without some example of the errors you get how do you expect Sir_Fz to know what's going wrong in there? Mind reading?  _________________ Once the game is over, the king and the pawn go back in the same box. |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
Posted: Fri Jan 07, 2011 6:38 pm Post subject: |
|
|
| Is it possible, or will it ever be possible, to disable/enable this script in specific channels? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Jan 08, 2011 2:18 pm Post subject: |
|
|
| samhain wrote: | | I've a problem using allprotection4.7b9.tcl it gives lots of errors... but the worst part is that the bot never saves the settings assigned by my commands in DCC... it goes back to the default settings everytime what could be the problem? |
Can't help you unless you provide error messages. You probably have invalid settings that's why the script automatically resets them. Use the correct format for every channel setting as advised in the script. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Jan 08, 2011 2:20 pm Post subject: |
|
|
| Tannn3r wrote: | | Is it possible, or will it ever be possible, to disable/enable this script in specific channels? |
Of course it's possible and it has always been possible. Simple use '.ap:disable #channel' to disable the script on #channel (this is a console command). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
Posted: Sat Jan 08, 2011 5:43 pm Post subject: |
|
|
| Thanks! I never saw it when setting up the script, so I just wasn't sure. |
|
| Back to top |
|
 |
samhain Halfop
Joined: 03 Jan 2007 Posts: 77
|
Posted: Sun Jan 09, 2011 11:50 am Post subject: |
|
|
<boyega> join
* boyega was kicked by USARMY (Jan 09 -=USA=-: NO URL's/CHAN's/Advertise(r)s/E-mail(s)... (TRF: 1) (Auto))
* USARMY sets mode: +b *!*@119.153.18.81
This is a default word *join * added in the adwords section of allprotection, I removed it from the script restarted the bot, killed it and restarted it again, but it has that word saved in the adwords, same is the case with bwords. the default words saved aren't being removed.
<Babar-> .ap:list adwords global
<USARMY> AP: global adwords list: *join *,*plz visit*,*#*
and when I typed
<Babar-> .ap:rem adwords global *join *
<USARMY> AP: *join,* was not found in global adwords list.
it gives that error, can you please tell me how do I remove these words from the bot? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Jan 09, 2011 2:30 pm Post subject: |
|
|
| samhain wrote: | ...
and when I typed
<Babar-> .ap:rem adwords global *join *
<USARMY> AP: *join,* was not found in global adwords list.
it gives that error, can you please tell me how do I remove these words from the bot? |
That's not an error, that's an information message from the script. The script treats your input as separate words (i.e. "*join" and "*") that's why it can't find them. You need to do it like this:
| Quote: | | .ap:rem adwords global "*join *" |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
samhain Halfop
Joined: 03 Jan 2007 Posts: 77
|
Posted: Sun Jan 09, 2011 2:44 pm Post subject: |
|
|
| Yeah, it's working fine now... Thanks for giving such a wonderful TCL. |
|
| Back to top |
|
 |
Tannn3r Voice

Joined: 23 Dec 2010 Posts: 25
|
Posted: Sun Jan 09, 2011 7:17 pm Post subject: |
|
|
Hey, I'm back with anther question.
Is it currently possible to just have a single channel where voiced users aren't affected, instead of it being global? |
|
| Back to top |
|
 |
samhain Halfop
Joined: 03 Jan 2007 Posts: 77
|
Posted: Mon Jan 10, 2011 3:52 am Post subject: |
|
|
| I don't think it's possible........... because the voice and operator exempted options are only available for global channels, those are not available for single channels. Instead, you can disable this option and add all those users to the eggdrop's userfile for a single channel. then it might be solved. |
|
| Back to top |
|
 |
|