Well, it's actually designed to join a channel that it has been placed in. One would expect it would not be kicked anyway; if so, as per any other user on IRC, it would rejoin.
Editing the source or finding a scripting solution may be your choices.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
ok Thanks for the answers. The problem was im using Metroid's request script but if people don't want the bot in their channel anymore they have to ban it.
I have tried the code but I cant get it to work, when starting the eggdrop it gives this error:
[07:36] Tcl error in file 'l5.conf':
[07:36] missing close-brace
while executing
"proc bot:kick {nick uhost hand chan target reason} {
global botnick
if {$target != $botnick} {return 0}
channel set $chan +inactive"
(file "scripts/noautorejoin.tcl" line 2)
invoked from within
"source scripts/noautorejoin.tcl"
(file "l5.conf" line 1319)