| View previous topic :: View next topic |
| Author |
Message |
Slaktarn Halfop
Joined: 02 May 2007 Posts: 44
|
Posted: Sun Feb 05, 2012 10:01 am Post subject: Quit channels on restart |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Feb 05, 2012 1:31 pm Post subject: |
|
|
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 |
|
 |
Johannes13 Halfop
Joined: 10 Oct 2010 Posts: 46
|
Posted: Sun Feb 12, 2012 11:16 am Post subject: |
|
|
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 |
|
 |
Slaktarn Halfop
Joined: 02 May 2007 Posts: 44
|
Posted: Tue Feb 14, 2012 4:10 am Post subject: |
|
|
| 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 |
|
 |
|