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

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Feb 16, 2010 7:04 pm Post subject: |
|
|
| Geo wrote: | Thanks. It Worked. any difference between excess chans and bchans? |
Excess chans is when a user is sitting in an excessive number of channels (equal or greater than the limit you have set).
| Geo wrote: | | And One Things, After i set the bchans It seems to be working BUt When it kicks The User ( with blacklist chan) It doesnt ban it, so it makes join flood.. |
I don't see anything that could cause that behavior in the script. Please post your current settings for ap:bchans on that channel. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts
Last edited by Sir_Fz on Tue Feb 16, 2010 7:23 pm; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Feb 16, 2010 7:15 pm Post subject: |
|
|
| Luminous wrote: | | In the random drone protection.. how is that triggered? I thought that was when people came with nicks like hhhhhh, but my bot doesn't kick those people. Not that all of the mare drones, they usually aren;t; just newbs who don't know what the chat box on my forum is for, but still, how does that work exactly? Does it need random ident as well? |
Here's the code that checks for those "drone" nicknames/idents
| Code: | if {[regexp {^[a-z]{4,}![a-z]{4,}$} $nick!$id]} {
if {(![string match {*[aeiou]*} $nick]) || ([regexp {^[^aeiou]{4}|[aeiou]{4}|q[^ua]|[^aeioux]x[^aeiouyx]|[^aeiouy]{5}} $nick dronm] && ![regexp {a{3}|e{3}|i{3}|o{3}|u{3}} $nick])} { |
It must have at least four consecutive lower-case alphabets in each of the nickname and the ident.
If there are no vowels at all in the nickname, it's a drone.
OR
[If there are four consecutive non-vowels, or four consecutive vowels, or "q" followed by a character other than "u" or "a", or "x" between two non-vowels (except for "x" itself and can be followed by "y"), or five consecutive non-vowels (except y)] + [no three consecutive identical vowels] ==> drone.
I hope that's clear enough. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Tue Feb 16, 2010 7:22 pm Post subject: |
|
|
| VampireLord wrote: | * ChanServ sets mode: +o ``ysa
<``ysa> aw
<``ysa> tae naman
<Legion^> wb
<``ysa> bat nang kkick
<n33k33> wb
<Legion^> ahehehe
<``ysa> amf
<``ysa> hehehehe
<yuki``> looool
<n33k33> ano na
<``ysa> ty mga adik
<``ysa> mwaaaaaaaaaaaaaaah
<n33k33> LoLS
<n33k33> bwahahahaha
<``ysa> ano na
* ``ysa was kicked by Kilabot (flood) |
That's not related to AllProtection, this is Eggdrop's built-in flood protection. Review your channel's flood-* settings (use .chanset #channel flood-chan 0:0 to disable Eggdrop's text flood protection on your channel) _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Tue Feb 16, 2010 9:31 pm Post subject: |
|
|
09:19 • halloaizq is now known as amand4
09:19 • amand4 [mast3r@nulled.rootyou.org] has left #e-kawan
09:20 • amand4 [mast3r@nulled.rootyou.org] has joined #e-kawan
p/s: how to set part 1st then wait for 5 minutes and changing to new nick before join back? already set timer 5 ... but still for 1 minute. Also after 1st time change nick this bot never cycle again. TQ plz reply ASAP _________________ : halloaizq : |
|
| Back to top |
|
 |
VampireLord Voice
Joined: 25 Jan 2010 Posts: 6
|
Posted: Fri Feb 19, 2010 1:54 am Post subject: suggestion |
|
|
elo opposing, thanks for the help about the built in eggdrop flood being turned on
i just wanna ask how to change the kicks so as to have the eggy ban first then kick..the way it is now is it kicks first then bans.some rejoins too fast and can still PM or annoy other channel users
thanks and more power |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Sat Feb 20, 2010 6:29 am Post subject: |
|
|
Tcl error [::AllProtection::antispam:check]: can't use empty string as operand of "*"
so how to fix this error? _________________ : halloaizq : |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 28, 2010 8:27 pm Post subject: |
|
|
| halloaizq wrote: | 09:19 • halloaizq is now known as amand4
09:19 • amand4 [mast3r@nulled.rootyou.org] has left #e-kawan
09:20 • amand4 [mast3r@nulled.rootyou.org] has joined #e-kawan
p/s: how to set part 1st then wait for 5 minutes and changing to new nick before join back? already set timer 5 ... but still for 1 minute. Also after 1st time change nick this bot never cycle again. TQ plz reply ASAP |
That feature is not available in the script. It may have been discussed in this topic and maybe I proposed a quick solution, try to search for it. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 28, 2010 8:33 pm Post subject: Re: suggestion |
|
|
| VampireLord wrote: | elo opposing, thanks for the help about the built in eggdrop flood being turned on
i just wanna ask how to change the kicks so as to have the eggy ban first then kick..the way it is now is it kicks first then bans.some rejoins too fast and can still PM or annoy other channel users
thanks and more power |
Unfortunately that's unavailable, try the following modification to the script:
Replace the code inside the "kb" { ..... } block in proc [punish] with this:
| Code: | foreach {jn ju} $nl {
if {![punishing b:[set bm [masktype $jn!$ju $bty]]:$c]} {
if {![info exists arb($bm)]} {
if {$banthruX(do)==2 || ($banthruX(do) && [llength [chanbans $c]] >= ${max-bans})} {
putquick [mapXcmd $banthruX(cmd) $jn $ju $c [clonemap [mapall $km $c $bti] $cc] $bty $bti]
} {
queue $c $bm
if {$bti > 0 && [istimer "pushmode $c -b $bm"] == ""} {
timer $bti [list pushmode $c -b $bm]
}
set arb($bm) 1
}
}
}
if {[onchan $jn $c] && ![punishing k:$jn:$c]} {
putquick "KICK $c $jn :[clonemap [mapall $km $c $bti] [incr cc]]"
}
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 28, 2010 8:35 pm Post subject: |
|
|
| halloaizq wrote: | Tcl error [::AllProtection::antispam:check]: can't use empty string as operand of "*"
so how to fix this error? |
Please execute '.set errorInfo' in your bot's partyline when that error occurs and post the output here. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
halloaizq Voice
Joined: 27 Aug 2007 Posts: 24
|
Posted: Sun Feb 28, 2010 9:58 pm Post subject: |
|
|
| Sir_Fz wrote: | | halloaizq wrote: | Tcl error [::AllProtection::antispam:check]: can't use empty string as operand of "*"
so how to fix this error? |
Please execute '.set errorInfo' in your bot's partyline when that error occurs and post the output here. |
[Mon 13:53:34] <eis-> .set ErrorInfo
[Mon 13:53:34] <(nafeesha> Ambiguous command.
so how? _________________ : halloaizq : |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Mon Mar 01, 2010 12:31 pm Post subject: |
|
|
[quote="halloaizq"][quote="Sir_Fz"] | halloaizq wrote: |
...
so how? |
With .set errorInfo
not .set ErrorInfo
Upper and lower case matters.
Also, in your eggdrop.conf, find this section:
| Code: |
# Comment these two lines if you wish to enable the .tcl and .set
commands.
|
and be sure you have enabled the use of the .set command for yourself. |
|
| Back to top |
|
 |
linuxuser Voice
Joined: 04 Mar 2010 Posts: 3
|
Posted: Thu Mar 04, 2010 1:19 pm Post subject: Hi |
|
|
I really like your script and happy you develop it =]]
Now thats out of the way, I need to know why it places a ban on people, I saw a ban on colleague of mine and I didn't see why it place the ban there? is there a way for the Script to include a comment as why it places bans, I wanted to know so i could have repaired the issue?
Thanks for your cooperation =]] |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu Mar 04, 2010 6:45 pm Post subject: |
|
|
Execute '.ap:monitor' at your bot's partyline when the ban is placed. This command displays all current userhosts being watched for an offence.
Glad you like the script  _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
FireWarrior Voice
Joined: 28 Oct 2008 Posts: 19
|
Posted: Tue Mar 09, 2010 7:55 am Post subject: block “kb" in proc punishment |
|
|
Hello Opposing,
My query is regarding the code replacement that you gave in proc punishment in block “kb” in your earlier post.
I quote:
| Sir_Fz wrote: | | VampireLord wrote: | elo opposing, thanks for the help about the built in eggdrop flood being turned on
i just wanna ask how to change the kicks so as to have the eggy ban first then kick..the way it is now is it kicks first then bans.some rejoins too fast and can still PM or annoy other channel users
thanks and more power |
Unfortunately that's unavailable, try the following modification to the script:
Replace the code inside the "kb" { ..... } block in proc [punish] with this:
| Code: | foreach {jn ju} $nl {
if {![punishing b:[set bm [masktype $jn!$ju $bty]]:$c]} {
if {![info exists arb($bm)]} {
if {$banthruX(do)==2 || ($banthruX(do) && [llength [chanbans $c]] >= ${max-bans})} {
putquick [mapXcmd $banthruX(cmd) $jn $ju $c [clonemap [mapall $km $c $bti] $cc] $bty $bti]
} {
queue $c $bm
if {$bti > 0 && [istimer "pushmode $c -b $bm"] == ""} {
timer $bti [list pushmode $c -b $bm]
}
set arb($bm) 1
}
}
}
if {[onchan $jn $c] && ![punishing k:$jn:$c]} {
putquick "KICK $c $jn :[clonemap [mapall $km $c $bti] [incr cc]]"
}
} |
|
I’ve followed the steps and tested it with “auto re-join channel when kicked” option in mIRC switched on.
I observed that sometimes the script kicks and bans fast enough to keep the nick out of the channel.
But at other times the nick joins back after the kick, before the ban is placed.
I hope you can help me out on this.
Many thanks for your effort in advance and best of luck for now and the future.
Regards,
FireWarrior. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Mar 12, 2010 7:16 pm Post subject: |
|
|
It might take longer to set a ban because of the queuing system
| Quote: | # Do you want your bot to queue bans? set here the time in seconds before dumping bans:
# NOTE: 0 means the bot will set the ban immediately
# The modes-per-line setting in eggdrop.conf is the number of modes allowed per command.
set apqueue(time) 1 |
Basically, this allows the bot to group bans in one line. You can disable the queue by setting it to 0, this way the ban is immediately set. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|