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 

How to update the config-file

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
The Void
Voice


Joined: 19 Jul 2007
Posts: 3

PostPosted: Thu Jul 19, 2007 7:58 am    Post subject: How to update the config-file Reply with quote

Hi,

I have searched 4 days for how to update my EggDrop-config file, without having to delete everything on my shell-hosting and reinstall EggDrop with the new conf-file.
But found nothing, not even on this forum.

So can please someone explain me how to do this.

I'm a beginner, so my conf-file was not set up right from the first time.
Each time i have to change something in my conf-file, i kill the eggdrop-proces on my shell-hosting, delete all the files with FTP and restart the installation of EggDrop (with the new conf-file).

Is there a better way to update my config-file, without having to re-install EggDrop and certainly without loosing saved stuff...

For example when i change a setting in the .conf or when i add a new tcl-script in the conf-file.

Thank you in advance!!!


PS: When in the future, i mean when people will be on my IRC-channel, i want to update the script the way you will explain me, i suppose my Bot will restart, will it still be Operator when rejoining the channel?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Jul 19, 2007 9:09 am    Post subject: Reply with quote

Simply, open your configfile in your favourite (plaintext) editor, do the changes, save and exit your editor.

If you edited it "off-shell", use your favourite ftp-client, scp-client, or any other means to transfer the edited configfile to your shell.

Next, simply .rehash or .restart your bot.

Same goes for scripts...

As for your last question, doing a .restart will pretty much have the same effect as killing the bot and starting it all over, which will result in your bot disconnecting from the server and thus loose ops in the channel. .rehash will only reread the configfile, and as long as there are no errors within the configfile or loaded scripts, it should remain connected.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jul 19, 2007 9:15 am    Post subject: Reply with quote

You don't need to kill the Eggdrop process, delete all files and then run again. A simple .rehash is enough (or .restart in some cases).
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
The Void
Voice


Joined: 19 Jul 2007
Posts: 3

PostPosted: Thu Jul 19, 2007 9:50 am    Post subject: Reply with quote

Am I right?

.rehash is for reloading configs, without that the bots leaves the channel
.restart makes bot leave and restart and join the channel again


With .restart, when people or on my channel, what will happen?
Will someone take over the channel?
Or does it kick all users, or what?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Jul 19, 2007 9:56 am    Post subject: Reply with quote

With restart, it will simly disconnect, do the restart, and then reconnect to the server and try to join the channel again.

What will happen with the channel depends on who's opped at the time, and what various features are available on the irc-network you're using (ie. DalNet has ChanServ, Quakenet has X, IrcNet supports reop-modes).

But pretty much, if you (or someone you trust) is'nt around to hold ops while the bot restarts, there is a risk you might loose the channel (except if you've registered the channel with ChanServ or X or such)...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
The Void
Voice


Joined: 19 Jul 2007
Posts: 3

PostPosted: Thu Jul 19, 2007 10:02 am    Post subject: Reply with quote

So the trick is to do .restart in the DCC chat while i'm opped myself and wait till the bot has returned the channel?

I'll try that before i make my channel public.

Thanks!
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 -> Eggdrop Help 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