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.

Link server

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

Link server

Post by cambodia »

i have download link server script but i don't understand this below syntax :
==========
#VERSION 0.2
#DESCRIPTION Links two channels together through two linked bots over two networks or on the same network. Example, #thischan@efnet <--> #thatchan@dalnet.

# Set the next line as the channel you want to listen on
set linkchan1 "#testchannel1"
# Set the next line as the channel you want to send to
set linkchan2 "#testchannel2"
# Set the next line as the bot in your net you want to relay through
set linkbot "Bot2"

# **How to use**
# On Bot 1 set your vars as:
# set linkchan1 "#channel1"
# set linkchan2 "#channel2"
# set linkbot "Bot2"
# On Bot 2 set your vars as:
# set linkchan1 "#channel2"
# set linkchan2 "#channel1"
# set linkbot "Bot1"
# That's it
========

where to set that inside bot1 & bot2
and should i load same tcl in two bot ? or rename to two tcl name ?

all answer is appreciate
peter
User avatar
user
&nbsp;
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

if your bots are on the same shell, comment out the settings in the script and add them to the confs of your bots above the 'source the.tcl' line... or duplicate the script.
Have you ever read "The Manual"?
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

user wrote:if your bots are on the same shell, comment out the settings in the script and add them to the confs of your bots above the 'source the.tcl' line... or duplicate the script.
you mean put # in tcl
and put what abover the sour the.tcl ?

my bot is on same shell
and bot got same name
Khmer & khmer
channel also same
#khmer & #khmer

so what should i add into that line above tcl ?
===========
set linkchan1 "#khmer"
set linkchan2 "#khmer"
set linkbot "khmer"
===========

put this three line into bot eggdrop.conf ? the line above link.tcl ?
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

user wrote:if your bots are on the same shell, comment out the settings in the script and add them to the confs of your bots above the 'source the.tcl' line... or duplicate the script.
i have put this two line into both of my bot

set linkchan1 "#khmer"
set linkchan2 "#khmer"
set linkbot "khmer"
source scripts/link.tcl

but it not work :( what i gonna do next ?
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

any idea ?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Re: Link server

Post by ^DooM^ »

cambodia wrote: # Set the next line as the channel you want to listen on
set linkchan1 "#testchannel1"
# Set the next line as the channel you want to send to
set linkchan2 "#testchannel2"
# Set the next line as the bot in your net you want to relay through
set linkbot "Bot2"

# **How to use**
# On Bot 1 set your vars as:
# set linkchan1 "#channel1"
# set linkchan2 "#channel2"
# set linkbot "Bot2"
# On Bot 2 set your vars as:
# set linkchan1 "#channel2"
# set linkchan2 "#channel1"
# set linkbot "Bot1"
# That's it
========
Ok heres an explination of what you need.

You need 2 eggdrops running this script on both of them. They have to also be linked to each other using the .+bot feature.

Code: Select all

# Set the next line as the channel you want to listen on
set linkchan1 "#testchannel1"
Set this in your tcl on your first bot to the channel you want the bot to realy from. ie channel1's text goes to channel2.

Code: Select all

# Set the next line as the channel you want to paste the information it reads too
set linkchan2 "#testchannel2"
Set this in your tcl on your first bot to the channel you want the bot to realy too.

Now do exactly the same on your other bot but swap the channels around.

Hope this clears it up a little :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
cambodia
Halfop
Posts: 73
Joined: Sun Aug 22, 2004 1:03 am
Location: cambodia

Post by cambodia »

thanks for reply i will try it if it work or not will post again :lol:
Locked