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

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Jun 01, 2006 2:05 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
kuto Voice
Joined: 01 Jun 2006 Posts: 8
|
Posted: Fri Jun 02, 2006 1:18 am Post subject: text file |
|
|
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" |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Fri Jun 02, 2006 1:22 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 02, 2006 2:28 am Post subject: |
|
|
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 _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Last edited by demond on Fri Jun 02, 2006 2:31 am; edited 1 time in total |
|
| Back to top |
|
 |
kuto Voice
Joined: 01 Jun 2006 Posts: 8
|
Posted: Fri Jun 02, 2006 2:31 am Post subject: text file solve |
|
|
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? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 02, 2006 2:36 am Post subject: |
|
|
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] tag when posting logs, code |
|
| Back to top |
|
 |
kuto Voice
Joined: 01 Jun 2006 Posts: 8
|
Posted: Fri Jun 02, 2006 4:54 am Post subject: Tcl error [::xchannel::mass]: can't read "maxr": n |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sat Jun 03, 2006 1:44 am Post subject: Re: Tcl error [::xchannel::mass]: can't read "maxr" |
|
|
| 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)
| Quote: |
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] tag when posting logs, code |
|
| Back to top |
|
 |
kuto Voice
Joined: 01 Jun 2006 Posts: 8
|
Posted: Sat Jun 03, 2006 2:11 pm Post subject: x:mass:rate |
|
|
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jun 04, 2006 1:42 am Post subject: Re: x:mass:rate |
|
|
| 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
| Quote: |
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
| Quote: |
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] tag when posting logs, code |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Thu Jun 22, 2006 8:17 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 23, 2006 1:52 am Post subject: |
|
|
use where and can I do what? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
honeybee Halfop
Joined: 01 Jan 2006 Posts: 80
|
Posted: Fri Jun 23, 2006 7:54 am Post subject: |
|
|
| well i just wanted to use random detection nick thats it. |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Fri Jun 23, 2006 12:21 pm Post subject: |
|
|
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] tag when posting logs, code |
|
| Back to top |
|
 |
kuto Voice
Joined: 01 Jun 2006 Posts: 8
|
Posted: Mon Jun 26, 2006 6:36 am Post subject: badwords.txt |
|
|
| 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. |
|
| Back to top |
|
 |
|