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 ... 54, 55, 56 ... 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
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Mar 06, 2008 11:43 am    Post subject: Reply with quote

Are you sure that the version reply of that user contains the keyword "X script"? if so, then this can be a possible bug and I'll try to look into it and fix it.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Thu Mar 06, 2008 4:16 pm    Post subject: Reply with quote

i'm sure about it, hmm for valid result maybe the other's member that they use AllProt could try it and report their result too.. Very Happy
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Mar 07, 2008 7:16 am    Post subject: Reply with quote

Do you have VERSION added to the ap:ctcpchecks channel-setting? Also, make sure that you do not have a channel-specific bctcrs list (since you're adding to the global bctcrs list). I've looked into the code and didn't find anything that should keep it from functioning as intended. Unfortunately I do not have an Eggdrop to test it myself so I have to rely on users' reviews (anyone else experiencing the same problem?).

And one more thing, are you seeing the VERSION reply in your bot's partyline?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Fri Mar 07, 2008 10:14 am    Post subject: Reply with quote

yes, I have added VERSION on the ap:ctcpchecks channel-setting
i'm not use channel-specific for bctcrs list, i'm use it for global.

yes, bot could recognize and make VERSION reply on my partyline..


anyone have a same problem with me ?
Back to top
View user's profile Send private message
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Fri Mar 07, 2008 4:30 pm    Post subject: Reply with quote

I tested it as a FINGER, and it s working for me. Elisca, can you test it as a FINGER ?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Mar 07, 2008 4:50 pm    Post subject: Reply with quote

Zircon wrote:
I tested it as a FINGER, and it s working for me. Elisca, can you test it as a FINGER ?

If it's not a hassle, try testing it with VERSION (and with both at the same time) as well (on some test channel perhaps?) and tell us if it's working.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Zircon
Op


Joined: 21 Aug 2006
Posts: 191
Location: Montreal

PostPosted: Sat Mar 08, 2008 3:29 am    Post subject: Reply with quote

Hello Sir_Fz

I made a test for VERSION. The bot sends the CTCP VERSION, and it receives an aswer in thi form :

<Anti-Flood> [02:22] CTCP reply VERSION: mIRC v6.16 Khaled Mardam-Bey from TeeesssT (~TEST@70.53.153.159) to Anti-Flood
<Anti-Flood> [02:22] CTCP reply VERSION: X script from TeeesssT (~TEST70.53.153.159) to Anti-Flood

and it doesnt ban. I think the problem is that the answer is in 2 lines.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Mar 08, 2008 6:51 am    Post subject: Reply with quote

You're correct, the bot will react on the first version-reply from the user and ignore the second line. I'll see what I can do to make a workaround for this.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
elisca
Halfop


Joined: 27 Jan 2007
Posts: 65
Location: in the middle of nowhere

PostPosted: Sun Mar 09, 2008 6:34 pm    Post subject: Reply with quote

Zircon wrote:
I tested it as a FINGER, and it s working for me. Elisca, can you test it as a FINGER ?


Zircon, i have test it as a FINGER, didn't working.. Sad
Back to top
View user's profile Send private message
Knight
Voice


Joined: 17 Mar 2007
Posts: 1

PostPosted: Fri Mar 21, 2008 2:00 am    Post subject: Reply with quote

as so many people been asking for the silence feature integrated in AllProtection:

find this :

set apfp(rmode) R

replace with :

set apfp(rmode) "1"

you can set the silence/ignore time here , as much duration you want :

set apfp(rtime) 120

set apfp(itime) 120

Next you find "rmode" in the tcl and you see this :

Code:
proc privl t {
 variable sfluds ; variable apfp ; variable bred ; variable ::botnick
 if {!$sfluds} {
  if {[string length $apfp(rmode)]==1} {
   if {!$bred} {
    putquick "MODE $botnick +$apfp(rmode)" -next
    if {$apfp(rtime) > 0} {
     utimer $apfp(rtime) [namespace current]::remr
    }
    set bred 1
    putlog "\002AP\002: Set mode +$apfp(rmode) on me. ($t flood on me!)"



Edit and replace :

Code:
proc privl t {
 variable sfluds ; variable apfp ; variable bred ; variable ::botnick
 if {!$sfluds} {
  if {[string length $apfp(rmode)]==1} {
   if {!$bred} {
    #putquick "MODE $botnick +$apfp(rmode)" -next
   putquick "SILENCE +*!*@*" -next
   if {$apfp(rtime) > 0} {
     utimer $apfp(rtime) [namespace current]::remr
    }
    set bred 1
    putlog "\002AP\002: Set mode +$apfp(rmode) on me. ($t flood on me!)"



Thanks to Sir_Fz for this nice tcl.
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: Fri Mar 21, 2008 12:03 pm    Post subject: Reply with quote

Thanks for your temporary tweak, I'll make sure this is integrated in my next release.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Tue May 13, 2008 5:53 am    Post subject: Reply with quote

Does Allprotection have !public commands ?
for example to turn on/off a feature like badwords ?
!disable badwords
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue May 13, 2008 7:35 am    Post subject: Reply with quote

eXtremer wrote:
Does Allprotection have !public commands ?
for example to turn on/off a feature like badwords ?
!disable badwords

No!
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
halloaizq
Voice


Joined: 27 Aug 2007
Posts: 24

PostPosted: Sun May 18, 2008 4:42 am    Post subject: Swearing advertising in part/quit msg Reply with quote

I got this msg error
:AllProtection::parts adv]: unmatched open quote in list


im using allprotection4.6b8.tcl .. so how to edit this command??
#
## 8-9 ## Swearing/Advertising in part/quit messages
#
# Exampl: "s:1 a:1" Enables banning of users with part/quit msgs containing swear/advertisement
lappend ap:udefs {ap:pqsadv "s:1 a:1"}
_________________
: halloaizq :
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun May 18, 2008 9:25 am    Post subject: Re: Swearing advertising in part/quit msg Reply with quote

halloaizq wrote:
I got this msg error
:AllProtection::parts adv]: unmatched open quote in list


im using allprotection4.6b8.tcl .. so how to edit this command??
#
## 8-9 ## Swearing/Advertising in part/quit messages
#
# Exampl: "s:1 a:1" Enables banning of users with part/quit msgs containing swear/advertisement
lappend ap:udefs {ap:pqsadv "s:1 a:1"}

You probably manually tried to edit the adv list. Please show complete log of '.set errorInfo'.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
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 ... 54, 55, 56 ... 88, 89, 90  Next
Page 55 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