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 

Quit channels on restart

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


Joined: 02 May 2007
Posts: 44

PostPosted: Sun Feb 05, 2012 10:01 am    Post subject: Quit channels on restart Reply with quote

Hay i have an eggdrop that is on BNC, Everytime i do .restart it quit the channels and rejoin them when its restarted, is it someway to avoid this and let it still be on channels even if bot restarted so it not need to part/join everytime

/ Slaktarn
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Feb 05, 2012 1:31 pm    Post subject: Reply with quote

No, there is not (apart from re-writing the sourcecode).
You could of course go for an unclean shutdown using kill -9 from your shell, though you'd have to manually sync your user- and channels-file prior killing it.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Johannes13
Halfop


Joined: 10 Oct 2010
Posts: 46

PostPosted: Sun Feb 12, 2012 11:16 am    Post subject: Reply with quote

ok, on shutdown it sends a PART 0,0 out. Just use bind out and block that.

Might cause some bad side effects.
Back to top
View user's profile Send private message
Slaktarn
Halfop


Joined: 02 May 2007
Posts: 44

PostPosted: Tue Feb 14, 2012 4:10 am    Post subject: Reply with quote

Johannes13 wrote:
ok, on shutdown it sends a PART 0,0 out. Just use bind out and block that.

Might cause some bad side effects.


Yeh i found it but, How to i trace the "PART 0,0" thing


I donīt get that one i log what happens in out

Code:

bind out - {*} [namespace current]::isRestartPart

proc isRestartPart {1 2 3} {
  putlog "$1 / $2 / $3"
}



/ Slaktarn
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