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.

Universal channel script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Apparently one is supposed to be a mind reader! It is possible the information required is buried in these posts somewhere.

You have to create the two files yourself and upload them to your bots folder. You also have to (from memory) manually add the information into each file.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
k
kuto
Voice
Posts: 8
Joined: Thu Jun 01, 2006 7:28 am

text file

Post by kuto »

ok i already create the files within bot /scripts file named badwhois.txt and badwords.txt, problem is it cant be read by the xchannel.tcl, im using version 3.6 from egghelp.org, my question is where the files should be placed so that the script can be read by the script.

secondly, do i have to create each .txt file on each channel the bot is on?

<CboT> Currently: couldn't open "badwhois.txt": no such file or directory
<CboT> Currently: while executing
<CboT> Currently: "open $fn"
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

I presume (unless the script searches elsewhere) that you will need to put these files in /home/user/eggdrop/

so if your username is kuto and your eggdrop folder is named CboT

then the path to badwhois.txt would be /home/kuto/CboT/badwhois.txt
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

you can use separate badwords or/and badwhois file for each channel, you need to create those files yourself using your text editor of choice and put them in your eggdrop directory; I deemed adding bad words via script command unnecessary as that action is supposed to happen infrequently
Last edited by demond on Fri Jun 02, 2006 2:31 am, edited 1 time in total.
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
k
kuto
Voice
Posts: 8
Joined: Thu Jun 01, 2006 7:28 am

text file solve

Post by kuto »

ok i got the error sorted, txt file shouldnt be in the bot /scripts folder along with xchannel.tcl, it should be placed within eggdrop folder.

now i got a new error with binding.

<CboT> [14:26] #kilo# set errorInfo
<CboT> Currently: no such binding
<CboT> Currently: while executing
<CboT> Currently: "unbind evnt - loaded {source $::xchannel::script;#}"

any idea to solve this issue?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

that's not an issue, you tried set errorInfo without actually getting an error
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
k
kuto
Voice
Posts: 8
Joined: Thu Jun 01, 2006 7:28 am

Tcl error [::xchannel::mass]: can't read "maxr": n

Post by kuto »

How come everytime i restart the bot i keep on getting this error =>Tcl error [::xchannel::mass]: can't read "maxr": no such var , that error disappear if i rehash the bot, what is causing that error to appear?

Second, the bot has ban a user and ops because of flood, now i unban the both user using .-ban userprofile, however if both user rejoin the same chan, the bot re-ban again bot user after typing a few lines, where can i find the logfile i need to remove the banned record.

im running eggdrop v1.6.17
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: Tcl error [::xchannel::mass]: can't read "maxr"

Post by demond »

kuto wrote:How come everytime i restart the bot i keep on getting this error =>Tcl error [::xchannel::mass]: can't read "maxr": no such var , that error disappear if i rehash the bot, what is causing that error to appear?
you have specified x:mass:rate incorrectly; it should be in format m:n (n events in m seconds)
Second, the bot has ban a user and ops because of flood, now i unban the both user using .-ban userprofile, however if both user rejoin the same chan, the bot re-ban again bot user after typing a few lines, where can i find the logfile i need to remove the banned record.

im running eggdrop v1.6.17
there is no such logfile; the script counts offenses and if your x:type:punish string is the default w:k:b, your bot will ban on 3-rd and each consecutive offense of that type until the offense record for that user is purged from the offense array, which will happen 720 minutes (12 hours) after the original (first) offense
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
k
kuto
Voice
Posts: 8
Joined: Thu Jun 01, 2006 7:28 am

x:mass:rate

Post by kuto »

User defined channel flags:
-noseendata -quietseens -quietaiseens -nopubseens
-x:limit +x:drone -x:door +x:flood
+x:clone +x:spam +x:repeat -x:whois
+x:bad -x:caps -x:color

how come i dont have +/-x:mass on my list?

my default setting is:
x:mass:rate: 20:3
x:mass:duration: 5


still i got this error after restarting:
[01:49] Tcl error [::xchannel::mass]: can't read "maxr": no such variable

x:mass:rate <= is this intended to be set where the bot is on? or is it possible to set it only on 1 chan.

xchannel-3.6
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: x:mass:rate

Post by demond »

kuto wrote: how come i dont have +/-x:mass on my list?
there is no such flag, mass flood protection is always ON, read the doc
my default setting is:
x:mass:rate: 20:3
if it was your real setting too, you wouldn't be getting the error you claim you get

delete the channel file and start over
x:mass:rate <= is this intended to be set where the bot is on? or is it possible to set it only on 1 chan.
of course, each x: setting is channel-specific - that's the whole idea of this thing - to be able to set up every channel the bot is on completely independently of the others
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
h
honeybee
Halfop
Posts: 80
Joined: Sun Jan 01, 2006 12:42 pm

Post by honeybee »

hey demon,
I want to use your heuristics detection algorithm for random nicks as you suggested lately in sb:score here: [url]http://forum.egghelp.org/viewtopic.php?t=9808&start=15[/url] instead of whole xchannel.tcl. can you do this please?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

use where and can I do what?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
h
honeybee
Halfop
Posts: 80
Joined: Sun Jan 01, 2006 12:42 pm

Post by honeybee »

well i just wanted to use random detection nick thats it.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

then use it

I'd assume you'll have the common courtesy to indicate in your script where you got this thing
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
k
kuto
Voice
Posts: 8
Joined: Thu Jun 01, 2006 7:28 am

badwords.txt

Post by kuto »

Im having problem with badwords.txt how come xchannels doesnt distinguished the word sex from sexy, if somebody type sexy, the bot automatically bans the user, is there a way to fix this issue? i only want the bot banned people saying sex but not sexy, sexiest and so on.
Post Reply