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
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Yes, it's exactly as samhain put it. However, it wouldn't be difficult to make these channel-specific, I'll try to find some time to implement that.
User avatar
Tannn3r
Voice
Posts: 25
Joined: Thu Dec 23, 2010 11:58 pm

Post by Tannn3r »

Alright, that's fine. Thanks for the script, it was exactly what I was looking for. :D
w
wtechboy18
Voice
Posts: 3
Joined: Fri Jan 14, 2011 11:21 am

Post by wtechboy18 »

Is there a way I can make no-one exempt from the bot's badword checking? I left the exmpt field blank but then it didn't trigger anything.
w
willyw
Revered One
Posts: 1204
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

wtechboy18 wrote:Is there a way I can make no-one exempt from the bot's badword checking? I left the exmpt field blank but then it didn't trigger anything.
I remembered this:
http://forum.egghelp.org/viewtopic.php?p=87383#87383

Bear in mind that is old info, and there is a newer version out - but I thought you might like to read that, and perhaps other posts around that time, while waiting for a reply here.

I can tell you that I like and use AP, and mine will kick channel ops.

To be honest though, I'd have to examine it closely to see what I've done with it - what I remember is that I got advice from Sir_Fz, and followed it, and it works. :)

One of these days, I will get around to upgrading to the newest version.
The one I have now, works so well, that I'm not overly motivated to do so. :)
w
wtechboy18
Voice
Posts: 3
Joined: Fri Jan 14, 2011 11:21 am

Post by wtechboy18 »

Thanks for the link. Unfortunately it appears to still not be working... It won't actually kick anyone unless I have something there :/
I tried leaving the exmptype blank and testing it but then it wouldn't trigger for anyone at all. Is there a higher level than ops that I can put in there?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

wtechboy18 wrote:Thanks for the link. Unfortunately it appears to still not be working... It won't actually kick anyone unless I have something there :/
I tried leaving the exmptype blank and testing it but then it wouldn't trigger for anyone at all. Is there a higher level than ops that I can put in there?
Are you saying that setting exmptype to {} results in the bot not responding to any offense whatsoever from any user? Because nothing in the script indicates such behavior, when set to {} it should not exempt anyone from punishment.
w
wtechboy18
Voice
Posts: 3
Joined: Fri Jan 14, 2011 11:21 am

Post by wtechboy18 »

Yes, that's what I'm saying. It exempts everyone when I don't put SOMETHING in those brackets. For now I've just circumvented it by putting +f in there, the bot has no "friends" so allprotection hits everyone but the bot owner now.
B
Behemoth
Voice
Posts: 20
Joined: Mon May 19, 2008 7:23 am
Location: Mauritius
Contact:

Post by Behemoth »

Hello Sir_Fz

for the Warn trigger, it is in hte

Code: Select all

NOTICE
and

Code: Select all

PRIVMSG $nick
format

can u help me out cause i want the Warn Trigger be more of

Code: Select all

PRIVMSG $chan 
i am waiting for your reply...
Http://optix-pro.labrute.fr/
Http://ircaz.fr/

Losers Always Whine About Their Best, But Winners Go Home And F*** The Prom Queen!
F
Frozn
Voice
Posts: 1
Joined: Thu Jan 20, 2011 2:10 pm

Post by Frozn »

Is there a way to modify which mods the bot will remove after a flood? I did specify to put on mr mods on every kinds of flood, but it always puts smir and removes -sminrl. I don't load any other scripts except the ones coming with the default eggdrop1.6.19.
g
gogers
Voice
Posts: 5
Joined: Sun Aug 16, 2009 6:42 am

Post by gogers »

Frozn wrote:Is there a way to modify which mods the bot will remove after a flood? I did specify to put on mr mods on every kinds of flood, but it always puts smir and removes -sminrl. I don't load any other scripts except the ones coming with the default eggdrop1.6.19.
paste the tcl script line to help you better.
User avatar
KhashayaR
Voice
Posts: 22
Joined: Thu Jul 19, 2007 9:34 pm
Location: World
Contact:

bad channel kick

Post by KhashayaR »

Hi I have question with regards to bad channel kick
I have been trying may time but its not working apart from that everything is working well, I have past that part in here kindly advise appreciate your respond
#
## 23 ## Bad chans/Excess chans.
#

# Use .chanset #channel ap:bchans + <btime> <pmeth> <btype> <scan-time> (in DCC to enable)
# <scan-time> is the time in minutes in which the bot will scan the channel for users in bad chans. (0 disable)
# Set default value here: (+ enabled, - disabled)
lappend ap:udefs {ap:bchans "+ 5 kb 2 0"}

# For excess channels use:
# .chanset #channel ap:echans <excess-chan-number> <btime> <pmeth> <btype> <scan-time> (in DCC to enable)
# if <excess-chan-number> is 0, then it is disabled.
lappend ap:udefs {ap:echans "0 60 w:kb 2 0"}

# Set default global badchan list here:
set bchans(global) { #example1 #example2 #example3 }

# Bad chans flood protect, stop whois/ctcp incase of x joins in y seconds: (applies on bad versions too)
set bchan(floodprot) 4:10

# Bad chans kick message:
set bchan(kmsg) "Bad chan detected. $kckcount(form)"

# Excess chans kick message:
set bchan(ekmsg) "Excess chans detected. $kckcount(form)"

# Bad/Excess chans check after warning time in seconds.
# Incase you chose to warn the offender (punish method), this is the time in seconds to wait
# before checking again. (keep it 0 if you're not using warn)
# Setting this to 50 or less will be useless, also make sure this is less than pwait.
set bchan(caw) 0

# Bad chans warning message:
set bchan(wmsg) "Warning: You're on a bad chan %bchan, leave it or you'll be kicked from %chan. You have $bchan(caw) seconds to leave %bchan."

# Excess chans warning message:
set bchan(ewmsg) "Warning: You're on excess chans (%echan), maximum allowed is %max. You have $bchan(caw) seconds to leave excess chans."

## Edit the following only if you choose a punish method above 5 (oper commands):

set bchan(ktype) 2

set bchan(klmsg) "Joining bad channels is prohibited on this network."

set bchan(ktime) 0
===
IRC Network: DALnet
Nick: KhashayaR
===
User avatar
Amr
Halfop
Posts: 94
Joined: Fri Sep 14, 2007 7:13 am
Location: Egypt

Post by Amr »

Hello , Im using AllProtection in ircqnet since about 3 years and it's working very good , but after they changed the IRCD to InspIRCd-2.0 , it's (AllProtection) kinda like it's not exist!
So , what will be the problem?
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

speechles wrote:

Code: Select all

# AntiSpamBot basic settings
# You can edit all these settings as you wish
# example: set antispam(nick) AntiSpamBot
set antispam(nick) $altnick
set antispam(altnick) ${altnick}1 
# ADD HERE
set antispam(nicks) {
nick1
nick2
nick3
}
... 
putlog "\002AP\002: AntiSpamBot: Cycling $c..."
putdcc $antispam(idx) "part $c"
# ADD:
putdcc $antispam(idx) "nick [lindex $antispam(nicks) [rand [llength $antispam(nicks)]]"
# REPLACE: putdcc $antispam(idx) "join $c" WITH:
timer 5 [list putdcc $antispam(idx) "join $c"] 
Try this.. ;)
It will part, then change nickname randomly, then wait the 5 minutes to rejoin with it's new randomly selected nickname. In this way users in the channel don't witness the event.
When i load this on the scripts this is what happen:
* bot1 (bot@bot.org) has joined #channel
* bot3 (bot@bot.org) has joined #channel
* bot1 (bot@bot.org) Quit (Killed (global.hub.dal.net (Nick Collision)))
* bot1 (bot@bot.org) has joined #channel
* bot2 (bot@bot.org) has joined #channel
* bot1 (bot@bot.org) has joined #channel
* bot1 (bot@bot.org) Quit (Killed (toronto.on.ca.dal.net (Nick Collision)))
* bot2 (bot@bot.org) has joined #channel
* bot1 (bot@bot.org) has joined #channel
* bot2 (bot@bot.org) Quit (Killed (ninja.hub.dal.net (Nick Collision)))
* bot1 (bot@bot.org) Quit (Killed (ninja.hub.dal.net (Nick Collision)))
S
Sydneybabe
Op
Posts: 106
Joined: Fri Apr 27, 2007 3:31 am
Location: Philippines

Post by Sydneybabe »

Hi i wonder why the anti-spambot having this error:
Tcl error [::AllProtection::antispamcore]: DNS lookup failed
since the primary bot is easy connected at IRC?
g
giantpanda
Voice
Posts: 1
Joined: Wed Apr 27, 2011 12:43 pm

Post by giantpanda »

Every time I make the bot joined to a channel, I got this kind of error
[13:31:57] * Last context: stats:tclstats.c/66 []
[13:31:57] * Please REPORT this BUG!
[13:31:57] * Check doc/BUG-REPORT on how to do so.
[13:31:57] * Wrote DEBUG
[13:31:57] * SEGMENT VIOLATION -- CRASHING!
Connection closed by foreign host.
it's happen if I added AllProtection.tcl to my eggdrop.
and this one the DEBUG file.
Debug (eggdrop v1.6.20) written Wed Apr 27 15:00:00 2011
Full Patch List:
Tcl library: /usr/local/lib/tcl8.5
Tcl version: 8.5.6 (header version 8.4.9)
Compile flags: gcc -g -O2 -pipe -Wall -I.. -I.. -DHAVE_CONFIG_H
Link flags: gcc
Strip flags: touch
Context: stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/264, []
stats:slang.c/526, []
stats:slang.c/255, []
stats:tclstats.c/66 []

SOCK ADDR PORT NICK HOST TYPE
---- -------- ----- --------- ----------------- ----
3 CCBCD916 17777 (telnet) * lstn 17777
4 00000000 0 (dns) dns (ready)
5 DEADF00D 8036 livestats * lstn port

Compiled without extensive memory debugging (sorry).
Open sockets: 3 (listen), 4 (passed on), 5 (listen), 7 (file), done.
I used AllProtection version 4.7 stable one.

If someone have a solution?
Thank you
Post Reply