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

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Feb 12, 2006 10:58 pm Post subject: |
|
|
| caesar wrote: |
One question tough, why do you keep the 'creation' of binds inside the 'channel initialisation' (init) inside a loop? what's the point in that? |
to facilitate parameterized binds; you surely have noticed I have very few constants/literals embedded in proc code, most are kept in array/list structures and accessed through loops - that's why the script is so compact & much smaller compared to similarly-featured scripts (well, not only because of that of course) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Feb 13, 2006 1:57 am Post subject: |
|
|
Well, actually, when rehashed it made the Windrop part the two dynamic channels. (Alice Through the Looking Glass syndrome?)
My decision to try under another OS (*BSD instead of RH) has come about because the RH box is an internal Rackspace box and for reasons not glaringly obvious, eggdrop can sometimes behave a little "funky".
In static channels the script is no problem; (apparent) failure of the script to initialise dynamically allocated channels when the bot enters (which should not under any circumstances require any rehashing) is annoying only, along with the "can't read" message lines in the log.
The RH bot was running netbots minus sentinel and repeat functions. I will test again (as I said) on a "clean" bot on a box I have never had any reason to question.
Special request: Have it knit jumpers (Winter is on the way).  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Feb 13, 2006 5:46 am Post subject: |
|
|
| spock wrote: | ah.. right you are
edit: actually it does seem to work over here
bind evnt - evnt:loaded ; proc evnt:loaded t { putlog $t }
sure enough, it spits out "loaded" on ./eggdrop -n |
you are right as ever, turns out it works just fine
I'll get rid of that timer and will use this instead _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Tue Feb 14, 2006 11:31 pm Post subject: |
|
|
well folks, I can't seem to get any ispiration as of what else to add to this thing
I looked at SirFz's and turns out I basically have all he's got there (sans such stuff like notifying owner on mass flood and klines which doubtfully have legitimate say in channel matters)
so if noone comes up with sane idea(s), I'll go forward and only fix those 2 bugs _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Feb 16, 2006 4:30 am Post subject: |
|
|
version 3.6 released
fixed the bug found by Alchera, implemented spock's suggestion, added devoice punish type (some folks run +m channels with automatic voicing, so I thought devoicing could be considered as punishment hehe) _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Feb 20, 2006 2:50 am Post subject: |
|
|
@Alchera:
if you are still using the script, please let me know of any errors like those you were experiencing seemingly randomly before; I wonder if that missing dynamic chansets initialization had something to do with those _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Feb 20, 2006 3:06 am Post subject: |
|
|
Okies demond. I have been away for the past couple of days.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Wed Feb 22, 2006 11:58 am Post subject: |
|
|
K.. loaded xchannel.tcl (3.6) ... added a dynamic channel .. had to rehash the bot to stop the dreaded error message (that should not be) and below is the result:
| Code: | Enfield User defined channel settings:
Enfield x:drone:bantype: 0 x:drone:bantime: 0 x:door:bantype: 0 x:door:bantime: 0
Enfield x:flood:bantype: 0 x:flood:bantime: 0 x:clone:bantype: 0 x:clone:bantime: 0
Enfield x:spam:bantype: 0 x:spam:bantime: 0 x:repeat:bantype: 0 x:repeat:bantime: 0
Enfield x:whois:bantype: 0 x:whois:bantime: 10 x:bad:bantype: 1 x:bad:bantime: 10
Enfield x:caps:bantype: 1 x:caps:bantime: 10 x:color:bantype: 1 x:color:bantime: 10
Enfield x:lag:threshold: 8 x:drone:score: 30 x:door:stay: 40 x:mass:duration: 5
Enfield x:clone:type: 2 x:clone:count: 4 x:whois:count: 6 x:caps:percent: 70
Enfield x:limit:slack: 5
Enfield User defined channel strings:
Enfield x:drone:punish: {}
Enfield x:drone:reason: {}
Enfield x:door:punish: {}
Enfield x:door:reason: {}
Enfield x:flood:punish: {}
Enfield x:flood:reason: {}
Enfield x:clone:punish: {}
Enfield x:clone:reason: {}
Enfield x:spam:punish: {}
Enfield x:spam:reason: {}
Enfield x:repeat:punish: {}
Enfield x:repeat:reason: {}
Enfield x:whois:punish: {}
Enfield x:whois:reason: {bad /whois information}
Enfield x:bad:punish: w:k:b
Enfield x:bad:reason: {do not curse}
Enfield x:caps:punish: w:k:b
Enfield x:caps:reason: {caps off}
Enfield x:color:punish: w:k:b
Enfield x:color:reason: {no colors}
Enfield x:mass:rate: 20:3
Enfield x:repeat:rate: 3:10
Enfield x:whois:file: badwhois.txt
Enfield x:bad:file: badwords.txt |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
dusk Halfop

Joined: 06 Mar 2005 Posts: 91 Location: Belgium
|
Posted: Wed Feb 22, 2006 9:31 pm Post subject: Little question |
|
|
Just a tiny question...
Is it possible to set the rate of plain public flood? I only find the one for mass flood . Or does this script use the same setting for both?
Thanx
GRTZ |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Feb 23, 2006 12:31 am Post subject: |
|
|
@Alchera:
I cannot reproduce your experience, I don't get any errors on 3.6
Here's mine, no problems at all:
| Code: |
<demond> .+chan #foobar
<(Bulgaria> [23:25] #demond# +chan #foobar
<demond> .chaninfo #foobar
<(Bulgaria> Settings for dynamic channel #foobar:
<(Bulgaria> Protect modes (chanmode): +tn
<(Bulgaria> Idle Kick after (idle-kick): DON'T!
<(Bulgaria> stopnethack: DON'T!
<(Bulgaria> aop-delay: 5:30
<(Bulgaria> revenge-mode: 0
<(Bulgaria> ban-time: 120
<(Bulgaria> exempt-time: 60
<(Bulgaria> invite-time: 60
<(Bulgaria> Other modes:
<(Bulgaria> -inactive +statuslog -secret +shared
<(Bulgaria> +greet -seen +cycle +dontkickops
<(Bulgaria> +protectops -protectfriends -revenge -revengebot
<(Bulgaria> -bitch -autoop -autovoice -nodesynch
<(Bulgaria> -enforcebans +dynamicbans +userbans -autohalfop
<(Bulgaria> -protecthalfops
<(Bulgaria> +dynamicexempts +userexempts +dynamicinvites +userinvites
<(Bulgaria> User defined channel flags:
<(Bulgaria> -noseendata -quietseens -quietaiseens -nopubseens
<(Bulgaria> -x:limit -x:flood -x:door -x:drone
<(Bulgaria> -x:repeat -x:spam -x:clone -x:whois
<(Bulgaria> -x:color -x:caps -x:bad
<(Bulgaria> User defined channel settings:
<(Bulgaria> x:flood:bantype: 1 x:flood:bantime: 10 x:door:bantype: 1 x:door:bantime: 30
<(Bulgaria> x:drone:bantype: 1 x:drone:bantime: 90 x:repeat:bantype: 1 x:repeat:bantime: 10
<(Bulgaria> x:spam:bantype: 1 x:spam:bantime: 10 x:clone:bantype: 2 x:clone:bantime: 10
<(Bulgaria> x:whois:bantype: 1 x:whois:bantime: 10 x:color:bantype: 1 x:color:bantime: 10
<(Bulgaria> x:caps:bantype: 1 x:caps:bantime: 10 x:bad:bantype: 1 x:bad:bantime: 10
<(Bulgaria> x:mass:duration: 5 x:door:stay: 40 x:drone:score: 30 x:clone:type: 2
<(Bulgaria> x:clone:count: 4 x:whois:count: 6 x:limit:slack: 5 x:caps:percent: 70
<(Bulgaria> x:lag:threshold: 8
<(Bulgaria> User defined channel strings:
<(Bulgaria> x:flood:punish: w:k:b
<(Bulgaria> x:flood:reason: {stop flooding}
<(Bulgaria> x:door:punish: w:k:b
<(Bulgaria> x:door:reason: {next time visit us longer}
<(Bulgaria> x:drone:punish: w:k:b
<(Bulgaria> x:drone:reason: {possible drone detected}
<(Bulgaria> x:repeat:punish: w:k:b
<(Bulgaria> x:repeat:reason: {repeating is lame}
<(Bulgaria> x:spam:punish: w:k:b
<(Bulgaria> x:spam:reason: spam
<(Bulgaria> x:clone:punish: w:k:b
<(Bulgaria> x:clone:reason: {no cloning please}
<(Bulgaria> x:whois:punish: w:k:b
<(Bulgaria> x:whois:reason: {bad /whois information}
<(Bulgaria> x:color:punish: w:k:b
<(Bulgaria> x:color:reason: {no colors}
<(Bulgaria> x:caps:punish: w:k:b
<(Bulgaria> x:caps:reason: {caps off}
<(Bulgaria> x:bad:punish: w:k:b
<(Bulgaria> x:bad:reason: {do not curse}
<(Bulgaria> x:mass:rate: 20:3
<(Bulgaria> x:repeat:rate: 3:10
<(Bulgaria> x:whois:file: badwhois.txt
<(Bulgaria> x:bad:file: badwords.txt
<(Bulgaria> flood settings: chan ctcp join kick deop nick
<(Bulgaria> number: 10 3 5 3 3 5
<(Bulgaria> time : 60 60 60 10 10 60
<(Bulgaria> [23:26] #demond# chaninfo #foobar
<demond> .rehash
<(Bulgaria> [23:26] #demond# rehash
<(Bulgaria> Rehashing.
<(Bulgaria> [23:26] Writing user file...
<(Bulgaria> [23:26] Writing channel file...
<(Bulgaria> [23:26] Rehashing ...
<(Bulgaria> [23:26] Listening at telnet port 54331 (all).
<(Bulgaria> [23:26] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
<(Bulgaria> [23:26] use '.help userinfo' for commands.
<(Bulgaria> [23:26] Loading language "en" from language/gseen.en.lang...
<(Bulgaria> [23:26] Loading language "de" from language/gseen.de.lang...
<(Bulgaria> [23:26] Loading language "bg" from language/gseen.bg.cyrillic.lang...
<(Bulgaria> [23:26] tcm-1.2: a little tcm addy by demond loaded
<(Bulgaria> [23:26] rssnews-1.5 by demond loaded
<(Bulgaria> [23:26] rconsole-1.7 by demond loaded
<(Bulgaria> [23:26] xchannel-3.6 by demond loaded successfully
<(Bulgaria> [23:26] Userfile loaded, unpacking...
<demond> .chaninfo #foobar
<(Bulgaria> Settings for dynamic channel #foobar:
<(Bulgaria> Protect modes (chanmode): +tn
<(Bulgaria> Idle Kick after (idle-kick): DON'T!
<(Bulgaria> stopnethack: DON'T!
<(Bulgaria> aop-delay: 5:30
<(Bulgaria> revenge-mode: 0
<(Bulgaria> ban-time: 120
<(Bulgaria> exempt-time: 60
<(Bulgaria> invite-time: 60
<(Bulgaria> Other modes:
<(Bulgaria> -inactive +statuslog -secret +shared
<(Bulgaria> +greet -seen +cycle +dontkickops
<(Bulgaria> +protectops -protectfriends -revenge -revengebot
<(Bulgaria> -bitch -autoop -autovoice -nodesynch
<(Bulgaria> -enforcebans +dynamicbans +userbans -autohalfop
<(Bulgaria> -protecthalfops
<(Bulgaria> +dynamicexempts +userexempts +dynamicinvites +userinvites
<(Bulgaria> User defined channel flags:
<(Bulgaria> -noseendata -quietseens -quietaiseens -nopubseens
<(Bulgaria> -x:limit -x:flood -x:door -x:drone
<(Bulgaria> -x:repeat -x:spam -x:clone -x:whois
<(Bulgaria> -x:color -x:caps -x:bad
<(Bulgaria> User defined channel settings:
<(Bulgaria> x:flood:bantype: 1 x:flood:bantime: 10 x:door:bantype: 1 x:door:bantime: 30
<(Bulgaria> x:drone:bantype: 1 x:drone:bantime: 90 x:repeat:bantype: 1 x:repeat:bantime: 10
<(Bulgaria> x:spam:bantype: 1 x:spam:bantime: 10 x:clone:bantype: 2 x:clone:bantime: 10
<(Bulgaria> x:whois:bantype: 1 x:whois:bantime: 10 x:color:bantype: 1 x:color:bantime: 10
<(Bulgaria> x:caps:bantype: 1 x:caps:bantime: 10 x:bad:bantype: 1 x:bad:bantime: 10
<(Bulgaria> x:mass:duration: 5 x:door:stay: 40 x:drone:score: 30 x:clone:type: 2
<(Bulgaria> x:clone:count: 4 x:whois:count: 6 x:limit:slack: 5 x:caps:percent: 70
<(Bulgaria> x:lag:threshold: 8
<(Bulgaria> User defined channel strings:
<(Bulgaria> x:flood:punish: w:k:b
<(Bulgaria> x:flood:reason: {stop flooding}
<(Bulgaria> x:door:punish: w:k:b
<(Bulgaria> x:door:reason: {next time visit us longer}
<(Bulgaria> x:drone:punish: w:k:b
<(Bulgaria> x:drone:reason: {possible drone detected}
<(Bulgaria> x:repeat:punish: w:k:b
<(Bulgaria> x:repeat:reason: {repeating is lame}
<(Bulgaria> x:spam:punish: w:k:b
<(Bulgaria> x:spam:reason: spam
<(Bulgaria> x:clone:punish: w:k:b
<(Bulgaria> x:clone:reason: {no cloning please}
<(Bulgaria> x:whois:punish: w:k:b
<(Bulgaria> x:whois:reason: {bad /whois information}
<(Bulgaria> x:color:punish: w:k:b
<(Bulgaria> x:color:reason: {no colors}
<(Bulgaria> x:caps:punish: w:k:b
<(Bulgaria> x:caps:reason: {caps off}
<(Bulgaria> x:bad:punish: w:k:b
<(Bulgaria> x:bad:reason: {do not curse}
<(Bulgaria> x:mass:rate: 20:3
<(Bulgaria> x:repeat:rate: 3:10
<(Bulgaria> x:whois:file: badwhois.txt
<(Bulgaria> x:bad:file: badwords.txt
<(Bulgaria> flood settings: chan ctcp join kick deop nick
<(Bulgaria> number: 10 3 5 3 3 5
<(Bulgaria> time : 60 60 60 10 10 60
<(Bulgaria> [23:27] #demond# chaninfo #foobar
|
I don't have any problems with restart either
Maybe you should delete your chanfile and start over _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Thu Feb 23, 2006 12:44 am Post subject: Re: Little question |
|
|
| dusk wrote: | Just a tiny question...
Is it possible to set the rate of plain public flood? I only find the one for mass flood . Or does this script use the same setting for both?
Thanx
GRTZ |
of course, those are your standard eggdrop flood settings (flood-chan in case for public flood)
xchannel binds to eggdrop's standard FLUD hook, therefore all standard flood settings are honored _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Feb 23, 2006 1:25 am Post subject: |
|
|
I am doomed, cursed and wretched; TCL hates me!  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Mar 03, 2006 2:33 am Post subject: |
|
|
| Alchera wrote: | I am doomed, cursed and wretched; TCL hates me!  |
still getting errors? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
dusk Halfop

Joined: 06 Mar 2005 Posts: 91 Location: Belgium
|
Posted: Wed Mar 22, 2006 4:09 pm Post subject: |
|
|
Hey demond,
Is it possible to make the spamprotection not reacting on # if chatters are using the channame they're in.
Sometimes people get warning when the post : Bye Bye #channel.(or something like that).
THNX |
|
| Back to top |
|
 |
Godzilla Voice
Joined: 25 Mar 2006 Posts: 8
|
Posted: Sat Mar 25, 2006 12:41 pm Post subject: |
|
|
Some Questions:
1) If someone get punished, when will the counter will be resetet, never?
2) Feature request: exception list for spam protection (own channels and webpages) |
|
| Back to top |
|
 |
|
|
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
|
|