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 ... 82, 83, 84 ... 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: Mon Jan 10, 2011 6:45 pm    Post subject: Reply with quote

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.
_________________
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: Mon Jan 10, 2011 9:14 pm    Post subject: Reply with quote

Alright, that's fine. Thanks for the script, it was exactly what I was looking for. Very Happy
Back to top
View user's profile Send private message
wtechboy18
Voice


Joined: 14 Jan 2011
Posts: 3

PostPosted: Fri Jan 14, 2011 12:11 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri Jan 14, 2011 12:54 pm    Post subject: Reply with quote

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. Smile

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. Smile
Back to top
View user's profile Send private message
wtechboy18
Voice


Joined: 14 Jan 2011
Posts: 3

PostPosted: Fri Jan 14, 2011 1:09 pm    Post subject: Reply with quote

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


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Jan 14, 2011 5:18 pm    Post subject: Reply with quote

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.
_________________
Follow me on GitHub

- Opposing

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


Joined: 14 Jan 2011
Posts: 3

PostPosted: Fri Jan 14, 2011 5:22 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Behemoth
Voice


Joined: 19 May 2008
Posts: 20
Location: Mauritius

PostPosted: Sun Jan 16, 2011 12:19 pm    Post subject: Reply with quote

Hello Sir_Fz

for the Warn trigger, it is in hte

Code:
NOTICE
and
Code:
PRIVMSG $nick
format

can u help me out cause i want the Warn Trigger be more of
Code:
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!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Frozn
Voice


Joined: 20 Jan 2011
Posts: 1

PostPosted: Thu Jan 20, 2011 2:33 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
gogers
Voice


Joined: 16 Aug 2009
Posts: 5

PostPosted: Thu Feb 17, 2011 6:37 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
KhashayaR
Voice


Joined: 19 Jul 2007
Posts: 22
Location: World

PostPosted: Wed Feb 23, 2011 12:18 am    Post subject: bad channel kick Reply with quote

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
Quote:

#
## 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
===
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Amr
Halfop


Joined: 14 Sep 2007
Posts: 94
Location: Egypt

PostPosted: Mon Mar 07, 2011 10:23 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Wed Apr 06, 2011 7:23 am    Post subject: Reply with quote

speechles wrote:
Code:
# 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.. Wink
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:
Quote:
* 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)))
Back to top
View user's profile Send private message
Sydneybabe
Op


Joined: 27 Apr 2007
Posts: 106
Location: Philippines

PostPosted: Mon Apr 11, 2011 10:34 pm    Post subject: Reply with quote

Hi i wonder why the anti-spambot having this error:
Quote:
Tcl error [::AllProtection::antispamcore]: DNS lookup failed

since the primary bot is easy connected at IRC?
Back to top
View user's profile Send private message
giantpanda
Voice


Joined: 27 Apr 2011
Posts: 1

PostPosted: Wed Apr 27, 2011 12:51 pm    Post subject: Reply with quote

Every time I make the bot joined to a channel, I got this kind of error

Quote:

[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.
Quote:

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
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 ... 82, 83, 84 ... 88, 89, 90  Next
Page 83 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