| View previous topic :: View next topic |
| Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Mar 06, 2008 11:43 am Post subject: |
|
|
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 |
|
 |
elisca Halfop

Joined: 27 Jan 2007 Posts: 65 Location: in the middle of nowhere
|
Posted: Thu Mar 06, 2008 4:16 pm Post subject: |
|
|
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..  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Mar 07, 2008 7:16 am Post subject: |
|
|
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 |
|
 |
elisca Halfop

Joined: 27 Jan 2007 Posts: 65 Location: in the middle of nowhere
|
Posted: Fri Mar 07, 2008 10:14 am Post subject: |
|
|
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 |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Fri Mar 07, 2008 4:30 pm Post subject: |
|
|
| I tested it as a FINGER, and it s working for me. Elisca, can you test it as a FINGER ? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Mar 07, 2008 4:50 pm Post subject: |
|
|
| 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 |
|
 |
Zircon Op
Joined: 21 Aug 2006 Posts: 191 Location: Montreal
|
Posted: Sat Mar 08, 2008 3:29 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Mar 08, 2008 6:51 am Post subject: |
|
|
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 |
|
 |
elisca Halfop

Joined: 27 Jan 2007 Posts: 65 Location: in the middle of nowhere
|
Posted: Sun Mar 09, 2008 6:34 pm Post subject: |
|
|
| 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..  |
|
| Back to top |
|
 |
Knight Voice
Joined: 17 Mar 2007 Posts: 1
|
Posted: Fri Mar 21, 2008 2:00 am Post subject: |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Mar 21, 2008 12:03 pm Post subject: |
|
|
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 |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue May 13, 2008 5:53 am Post subject: |
|
|
Does Allprotection have !public commands ?
for example to turn on/off a feature like badwords ?
!disable badwords |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue May 13, 2008 7:35 am Post subject: |
|
|
| 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 |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Sun May 18, 2008 4:42 am Post subject: Swearing advertising in part/quit msg |
|
|
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun May 18, 2008 9:25 am Post subject: Re: Swearing advertising in part/quit msg |
|
|
| 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 |
|
 |
|