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?
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.
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)...