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 

add channel

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


Joined: 17 Jun 2018
Posts: 46

PostPosted: Mon Feb 04, 2019 11:48 pm    Post subject: add channel Reply with quote

not sure about being in the right place but here goes, been using eggdrop 1.8.4 been working great.
little prob appeared about a week ago, bot joins a channel called "mychannel" i remove it by doing .-chan #mychannel, but on next reboot it joins there again. the add channel in config file is commented out so am at a loss as to where this is comming from
thanks for any and all help Smile Smile
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1042

PostPosted: Tue Feb 05, 2019 9:52 am    Post subject: Re: add channel Reply with quote

roger wrote:
...
little prob appeared about a week ago, bot joins a channel called "mychannel" i remove it by doing .-chan #mychannel, but on next reboot it joins there again. the add channel in config file is commented out so am at a loss as to where this is comming from
thanks for any and all help Smile Smile


Channel settings are stored in the .chan file (whatever you named it, in eggdrop.conf)

It sounds like - for some reason - the change to that file is not happening when you do .-chan #mychannel.

If ever the channel was added via eggdrop.conf itself, then it would not be a dynamic channel ( one added via .+chan partyline command).
Even if you commented it out, later.

Honestly, I can't remember if you are even allowed to .-chan a permanent channel like that. For a long time now, it has been recommended to NOT add channels via eggdrop.conf, but to only use .+chan . I always do it that way because I want to get control of the bot (say Hello, set pass, log in, etc. ) BEFORE it ever joins a channel.
So, I forgot if you can .-chan such a channel, or not.

You CAN set it +inactive though. That means that it still exists in the .chan file, but is inactive. Means that bot won't join that channel.

Try: .chaninfo #mychannel
and I bet that right now, it is -inactive.

Then do: .chanset #mychannel +inactive
to change that. Bot will leave #mychannel.

Do: .chaninfo #mychannel again, and see that it is +inactive now.

Do: .chansave to be sure it is saved. (Bot saves periodically on it's own eventually anyway)

Do: .status and at the bottom of the report you'll see all channels in the bot's chan file, and their current status.

If #mychannel is a permanent chan, there is a way to get it out of there, if you really want to. But that's for later. Let's get past your current question first. Smile

I hope this helps.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
roger
Halfop


Joined: 17 Jun 2018
Posts: 46

PostPosted: Wed Feb 06, 2019 2:43 pm    Post subject: thank you Reply with quote

as per your instructions all is well now, even the server admiins are happy Very Happy
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