This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

AllProtection.tcl (Stable: v4.8 / Beta: v4.9b4)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
B
Balu
Voice
Posts: 4
Joined: Thu May 31, 2007 7:14 am

Post by Balu »

sorry for that mistake .. i made a sample config for my chans ... so that i need not to change so many things when i add new channel

ty
A
AskMe
Voice
Posts: 23
Joined: Wed Apr 11, 2007 4:22 pm
Location: Canada

Post by AskMe »

Sir_Fz
i have a question for you...
i put this setting

Code: Select all

ap:bchans: {+ 180 kb 2 5}
as you can see it rescan for badchan every 5 mins...
but my problem is it not only rescan for badchan it trigger all my
bind join - * proc from all other .tcl i have...

do you have any solutions for that???

thanks for this great scripts ;)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

AskMe wrote:Sir_Fz
i have a question for you...
i put this setting

Code: Select all

ap:bchans: {+ 180 kb 2 5}
as you can see it rescan for badchan every 5 mins...
but my problem is it not only rescan for badchan it trigger all my
bind join - * proc from all other .tcl i have...

do you have any solutions for that???

thanks for this great scripts ;)
It does nothing else than whois the users of your channel every 5 minutes to check for bad channels.
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

need help about this AntiSpamBot configuration...

Post by Sydneybabe »

how to change this part? example do i have only to change the altnick on set antispam(nick) $::altnick with my antispambot nick or the whole $::altnick with my antispambot nick? give me a sample to edit this part of allprotection...

# AntiSpamBot basic settings
set antispam(nick) $::altnick
set antispam(altnick) ${::altnick}1
set antispam(user) AP
set antispam(realname) "AllProtection Anti-Spam"
set antispam(ip) ${::my-ip}
set antispam(host) ${::my-hostname}


Thanks a lot in advance and more power! :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Re: need help about this AntiSpamBot configuration...

Post by Sir_Fz »

Sydneybabe wrote:how to change this part? example do i have only to change the altnick on set antispam(nick) $::altnick with my antispambot nick or the whole $::altnick with my antispambot nick? give me a sample to edit this part of allprotection...

# AntiSpamBot basic settings
set antispam(nick) $::altnick
set antispam(altnick) ${::altnick}1
set antispam(user) AP
set antispam(realname) "AllProtection Anti-Spam"
set antispam(ip) ${::my-ip}
set antispam(host) ${::my-hostname}


Thanks a lot in advance and more power! :)
Sample:
# AntiSpamBot basic settings
set antispam(nick) AntiSpam-Nick
set antispam(altnick) AntiSpam-AltNick
set antispam(user) AP-ident
set antispam(realname) "AllProtection Anti-Spam"
set antispam(ip) 127.0.0.1
set antispam(host) localhost
User avatar
masheen
Voice
Posts: 28
Joined: Sat Apr 28, 2007 1:14 pm

Post by masheen »

hi Sir_Fz
have downloaded the beta just recently and installed it on my bot...and fyi i have never seen anything better dan dis one.

mt only concern is dat the bantime seemed to not working...the kick msg says 30sec of bantime but does not unban after the time expires...and there are no tcl errors i see on my partyline...can u shed light on this one? tnx :)
let he who is without stone cast the first sin
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

ban-times are set in minutes not seconds (but I guess that's what you meant). The unbanning works correctly, if the ban has been removed during the ban-time the bot removes the timer so it won't send the unban later - otherwise it must unban as expected.
n
nsrafk
Halfop
Posts: 73
Joined: Fri May 11, 2007 12:25 am

Post by nsrafk »

Thanks for a nice script, i have a question though. Is it possible to make the script not protect channel ops as default? im running a free-op channel, so the script is not useable :)
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

nsrafk wrote:Thanks for a nice script, i have a question though. Is it possible to make the script not protect channel ops as default? im running a free-op channel, so the script is not useable :)
This indeed passed by my head a month or two ago. In the next version I'll make this feature custom (i.e. ability to choose exempting voices/ops/halfops/custom flags without defaults...).

In the mean time, a quick solution would be removing [isop $n $c] from

Code: Select all

if {[isbotnick $n] || ![botisop $c] || [isop $n $c] || [matchattr $h fmo|fmo $c]} {return 1}
in the invalid:apc proc.
n
nsrafk
Halfop
Posts: 73
Joined: Fri May 11, 2007 12:25 am

Post by nsrafk »

Okay, thanks.

Code: Select all

if {[isbotnick $n] || ![botisop $c] || [matchattr $h fmo|fmo $c]} {return 1}
So, it should look like this, right?

EDIT: Yep, it works good. Thank you.
I have one more question though. Is the script able to do a BCHAN scan when it joins channel, or is it only bnicks/clones etc, its able to scan for? I've tried to do this:

Code: Select all

set cbcd(procs) {clones bnicks bchans}
It doesn't seem to work though :) Its because on netsplits etc, people in badchans is able to join without getting banned, after the netsplit is done.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Nice idea, bchans/echans are not supported in this feature, but I'll add them in the next release. I'll try to upload a new release next week including this feature :)
n
nsrafk
Halfop
Posts: 73
Joined: Fri May 11, 2007 12:25 am

Post by nsrafk »

Cool mate. Ill look forward to it :) Nice job!
User avatar
Domin
Halfop
Posts: 72
Joined: Sat Jun 10, 2006 9:10 am

Post by Domin »

Will you also include the botnet linking features :-P
Regards
Domin @ efnet
m
mindcry
Voice
Posts: 10
Joined: Mon Mar 05, 2007 10:24 am
Location: Central Java Indonesia

Post by mindcry »

i'll test it in my own ircd and tell you the results...

:D
mindcry
User avatar
LivingSouL
Voice
Posts: 15
Joined: Fri May 04, 2007 11:30 am
Location: Davao
Contact:

Lags because of Reverse code

Post by LivingSouL »

Hello y'all

I'm using the stable release of allprotection. And I noticed that my bot lags everytime some floodbots flood with the reverse code on Ctrl+R on mIRC.

How do you strip codes on eggdrop? or maybe on script?
Post Reply