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 

Universal channel script
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 13, 14, 15  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Feb 12, 2006 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Feb 13, 2006 1:57 am    Post subject: Reply with quote

Well, actually, when rehashed it made the Windrop part the two dynamic channels. Laughing (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). Razz
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Feb 13, 2006 5:46 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Feb 14, 2006 11:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Feb 16, 2006 4:30 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Feb 20, 2006 2:50 am    Post subject: Reply with quote

@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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Feb 20, 2006 3:06 am    Post subject: Reply with quote

Okies demond. I have been away for the past couple of days. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Feb 22, 2006 11:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Wed Feb 22, 2006 9:31 pm    Post subject: Little question Reply with quote

Just a tiny question...

Is it possible to set the rate of plain public flood? I only find the one for mass flood Embarassed . Or does this script use the same setting for both?

Thanx

GRTZ
Back to top
View user's profile Send private message MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Feb 23, 2006 12:31 am    Post subject: Reply with quote

@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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Thu Feb 23, 2006 12:44 am    Post subject: Re: Little question Reply with quote

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 Embarassed . 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
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Feb 23, 2006 1:25 am    Post subject: Reply with quote

I am doomed, cursed and wretched; TCL hates me! Laughing
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Mar 03, 2006 2:33 am    Post subject: Reply with quote

Alchera wrote:
I am doomed, cursed and wretched; TCL hates me! Laughing

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
View user's profile Send private message Visit poster's website
dusk
Halfop


Joined: 06 Mar 2005
Posts: 91
Location: Belgium

PostPosted: Wed Mar 22, 2006 4:09 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Godzilla
Voice


Joined: 25 Mar 2006
Posts: 8

PostPosted: Sat Mar 25, 2006 12:41 pm    Post subject: Reply with quote

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
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 ... 7, 8, 9 ... 13, 14, 15  Next
Page 8 of 15

 
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