egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

renaming ./eggdrop to diff name

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
trackker
Voice


Joined: 19 Feb 2008
Posts: 3

PostPosted: Tue Feb 19, 2008 4:35 pm    Post subject: renaming ./eggdrop to diff name Reply with quote

i run 3 diff eggys un my shell
my problem is all 3 show ./eggdrop
is there a way to rename the . /eggdrop to a different name
so they show ie jim, joe, bob
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2853

PostPosted: Tue Feb 19, 2008 4:39 pm    Post subject: Reply with quote

Simply rename the binary? or create a symbolic link...

On most shells, this would be some something like this:
Code:
#Rename like this:
mv eggdrop Joe
#or create symbolic link like this:
ln -s eggdrop Joe

_________________
NML_375, idling at #eggdrop@IrcNET


Last edited by nml375 on Tue Feb 19, 2008 4:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
trackker
Voice


Joined: 19 Feb 2008
Posts: 3

PostPosted: Tue Feb 19, 2008 4:40 pm    Post subject: Reply with quote

nml375 wrote:
Simply rename the binary? or create a symbolic link...

i am new to eggdrops can u tell me how to do this
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2853

PostPosted: Tue Feb 19, 2008 4:43 pm    Post subject: Reply with quote

Renaming files isn't really an eggdrop-issue, but simple filesystem/shell/etc operations. The same actions apply for the eggdrop binary as for any other file, including non-eggdrop files.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
dungeon
Voice


Joined: 06 Apr 2006
Posts: 11

PostPosted: Sun Mar 09, 2008 7:20 am    Post subject: Reply with quote

1. Windows or *nix?

2. Are you running three different instances of the binary, or same binary but three different config files?

I'm running the latter - I can see which bot is which by the names of the config files following the ./eggdrop command:

Code:
$ ps -fu utserver
UID        PID  PPID  C STIME TTY          TIME CMD
utserver 29219     1  0 Mar06 ?        00:00:10 ./eggdrop avon.conf
utserver 27815     1  0 Mar06 ?        00:00:10 ./eggdrop xan.conf
utserver 23218     1  0 Mar06 ?        00:00:10 ./eggdrop romeo.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber