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.

eggdrop config user file

Old posts that have not been replied to for several years.
Locked
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

eggdrop config user file

Post by cambodia »

i have problem with bot.user file when i first start bot with -m option it allow me to create master and i can login with master username / password but after i kill the bot and bring it back it wn't recognize my master/pass when i look into bot.user i see only master nick but pass ... is don't have how to set this ?

i have 4 bots but only one bot is working another 3 bots always happened that .

Q2 : i'm using netlink tcl to relay from other channel from one network to another network , the tcl loading successful but it not relay when i check bot.chan it ignore other bot and the other bot also ignore this bot so how to make bot not ignore each other ?


your answer is appreciate :)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

i would imagine you are failing to save the userfile after adduser'ing with a simple .save <----- be sure to save the userfile before killing/restarting your bot
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

yes correct now i .save also .backup already and how about ignore each other , any idea ? :)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: eggdrop config user file

Post by YooHoo »

cambodia wrote:Q2 : i'm using netlink tcl to relay from other channel from one network to another network , the tcl loading successful but it not relay when i check bot.chan it ignore other bot and the other bot also ignore this bot so how to make bot not ignore each other ?
it is almost a certainty that one of three reasons -
a) you did not read the pre-installation instructions,
b) you did not correctly edit the tc, or
c) you did not follow the post-installation instructions.

:mrgreen: here, I'll be a sport and copy it here for you....now you owe me a beer :wink:

Code: Select all

#   Add the following to your main config file:
#	set network UnderNet
#	set snet UN
#	set botnetid 123456

# A few things to point out:
#  1) In order to link channels, you need a bot on each net you want to
#     link.
#  2) All linking bots must be connected to each other via botnet links
#  3) Use the !addclink command on each net you want to link channels on.
#    Format is:   !addclink #SourceChannel #DestinationChannel
#    The best thing to do is link channels of the same name. 
#  4) The network variable is to be set with the name of the network that
#     bot is on.
#  5) The snet variable is a short name of the network to be displayed in
#     the links. EX: if snet = "UN" then output is <DrN@UN> What's up?
#     your network variable must be defined as well. Perferably the same
#     as the net variable.
#  6) The botnetid variable should be the same on all bots you want to
#     link channels. Only change on bots that are linking different
#     channels on the same botnet.
#  7) Linking channels of a different name.
#     Double entries are no longer needed. Set them up as follow:3
#   #Channel1 on Net1 - #Channel2 on Net2
#              On Net1: !addclink #channel2 #channel1
#              On Net2: !addclink #channel1 #channel2
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

ii can owe you more than one beer if my problem solve but yeah i have read it already and i follow all the step and also yesterday when i config it the tcl script owner help me to setup too but the problem that he can't help me is he don'teven know why bot ignore each other

well i have two bot one bot nick theavy in uirc.net
and other bot nick khmerguard in webchat.org

and he recommend me in theav.conf in botnetid put "set botnetid khmerguard " and in kguard.conf put " set botnetid theavy "

and when i want to add khmerguard user into theavy bot by " .+user khmerguard " it display " they that's my nick " :(

and when i see in theavy.user it have oneline contain
"
*ignore - -
- *!*@bots.uirc.net:1110979834:KhmerGuar:1110978934:MSG/NOTICE flood
- *!*@drummandbass.org:1110979827:KhmerGuar:1110978927:MSG/NOTICE flood
- *!*@bot.uirc.net:1110979831:KhmerGuar:1110978931:MSG/NOTICE flood
- *!*@uirc.net:1110979763:KhmerGuar:1110978863:MSG/NOTICE flood
"

when i look into kguard.user i saw
"
*ignore - -
- *!*@webchat.org:1110979966:theavy:1110979066:MSG/NOTICE flood
"

any idea or wanna see my conf file ?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

are you sharing userfiles or using same userfile?
each bot should be correctly added to one another (.help adduser), making absolute certain that appropriate hostmaks exist within each respective bot. I HIGHLY suggest you READ the uber-useful Config-file Variables that slennox whipped together one day cos he was bored...I am fairly certain that once you have 'finished' reading the Mountain of Eggdrop Information available here at egghelp as well as in the ~/doc directory of your bot, you will have an enormously better understanding of how to edit/configure your own bot. :wink:
If I may ask a silly question....why such obsession with this particular relay script? There are many chanrelay scripts available, with varying degrees of effectiveness. I personally use relay.tcl by Elven, which, IMHO, is one of the best....
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

why i choose that tcl ? because i try many tcl it not work and no respond for email or where i go to look at them at their channel , so i have try that tcl scripter and meet him then i try it with him but still not work :(

do you have any example ot that reply.tcl work ?( i mean channel ) i wanna look and see ,

the bot is different from each other one bot have one config file hmmm so confusing :)
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

YooHoo wrote:I personally use relay.tcl by Elven, which, IMHO, is one of the best....
[01:30] Tcl error in file 'kguard.conf':
[01:30] can't read "::datapath": no such variable
while executing
"set rsavefile "$::datapath/relays""
(in namespace eval "::Relay" script line 3)
invoked from within
"namespace eval Relay {
set rnorelay {^\*\* }
set rsavefile "$::datapath/relays"

set rversion "0.9"
if {![info exists relays]} { set relays ..."
(file "scripts/test/relay.tcl" line 25)
invoked from within
"source scripts/test/relay.tcl"
(file "kguard.conf" line 1372)
[01:30] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

i got this error when loading relay.tcl from the link you gave me :)
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

I'm sensing a pattern here. You need to READ AND EDIT tcl scripts to properly configure them. 99% of tcl scripts will NOT work just by simply loading it to your scripts directory and adding a source line to your conf file, you MUST open it in a text editor and configure the variables correctly. This line is included in elven's relay.tcl near the top:

Code: Select all

#  scroll down and change "rsavefile" to a file where the relay-data will be saved
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

still can't make it work :(
Locked