egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)
Goto page Previous  1, 2, 3 ... 81, 82, 83 ... 88, 89, 90  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Bhola420
Voice


Joined: 05 Dec 2010
Posts: 6

PostPosted: Mon Dec 27, 2010 1:40 am    Post subject: Reply with quote

i downloaded the fresh copy, and set channel limit to 0 to disable it, i had this Sad

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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Dec 28, 2010 2:29 pm    Post subject: Re: AllProtection v4.7: ap:nickf: {2:60 180 w:k:kb 2} Reply with quote

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
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Dec 28, 2010 2:30 pm    Post subject: Reply with quote

Bhola420 wrote:
i downloaded the fresh copy, and set channel limit to 0 to disable it, i had this Sad

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
View user's profile Send private message Visit poster's website
Diamond85
Voice


Joined: 25 Oct 2008
Posts: 27

PostPosted: Tue Dec 28, 2010 10:21 pm    Post subject: Re: AllProtection v4.7: ap:nickf: {2:60 180 w:k:kb 2} Reply with quote

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 Razz
Back to top
View user's profile Send private message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Fri Jan 07, 2011 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Fri Jan 07, 2011 6:28 pm    Post subject: Reply with quote

Without some example of the errors you get how do you expect Sir_Fz to know what's going wrong in there? Mind reading? Smile
_________________
Once the game is over, the king and the pawn go back in the same box.
Back to top
View user's profile Send private message
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Fri Jan 07, 2011 6:38 pm    Post subject: Reply with quote

Is it possible, or will it ever be possible, to disable/enable this script in specific channels?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jan 08, 2011 2:18 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jan 08, 2011 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Sat Jan 08, 2011 5:43 pm    Post subject: Reply with quote

Thanks! I never saw it when setting up the script, so I just wasn't sure.
Back to top
View user's profile Send private message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Sun Jan 09, 2011 11:50 am    Post subject: Reply with quote

<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
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Jan 09, 2011 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Sun Jan 09, 2011 2:44 pm    Post subject: Reply with quote

Yeah, it's working fine now... Thanks for giving such a wonderful TCL.
Back to top
View user's profile Send private message
Tannn3r
Voice


Joined: 23 Dec 2010
Posts: 25

PostPosted: Sun Jan 09, 2011 7:17 pm    Post subject: Reply with quote

Hey, I'm back with anther question. Smile

Is it currently possible to just have a single channel where voiced users aren't affected, instead of it being global?
Back to top
View user's profile Send private message
samhain
Halfop


Joined: 03 Jan 2007
Posts: 77

PostPosted: Mon Jan 10, 2011 3:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 81, 82, 83 ... 88, 89, 90  Next
Page 82 of 90

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber