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.

two trivia channel in two server same shell

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

two trivia channel in two server same shell

Post by cambodia »

i have one shell that can run 4 background
and i want to load nerdbendr trivia script in to two bot in two channel but differetn network

uirc - #khmer ( bot name = khmer )
webnet - #khmer ( bot name = khmer )

how to seperate it into two ?

and i want to link server from uirc & webnet i have try to post one forum but it still not work and it don't have any readme file anybody can give me some clue ?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Re: two trivia channel in two server same shell

Post by YooHoo »

cambodia wrote:i have one shell that can run 4 background
and i want to load nerdbendr trivia script in to two bot in two channel but differetn network

uirc - #khmer ( bot name = khmer )
webnet - #khmer ( bot name = khmer )

how to seperate it into two ?
this is kinda covered under this FAQ, but I suppose I sorta understand your situation. The simplest answer is to make install=DEST for each bot and run them each seperately from thier own directory, rather than from a single massive directory. This offers you a number of advantages, with one of the most important being organization (and seperation) of your files, so scripts like nerfbendr's trivia, which make a large number of [un]necessary files & directories, can be run without makin a complete mess outta your shell :wink:
as for namin 2 bots the same botnick in the same shell, all you need to do is make install each eggdrop into seperate directories, naming them slightly different, such as:
make install DEST=/home/ident/khmer1
make install DEST=/home/ident/khmer2
name the conf files the same (for organizations sake), and don't forget to setup crontab :mrgreen:
Locked