just do ./cycle then your bot should leave then come back make sure you put the chan after ./cycle. You can change your bot name to your bot and the if statment nicks to your nicks
on *:TEXT:./cycle BOTNAME:#:{
if ($nick == YOURNICK) || ($nick == OPTIONAL) {
/cycle $chan
}
else {
msg $chan Sorry $nick but your not my owner.
}
}
ChanZin, why use the /cycle command for one channel where the client that runs the code is on... when you can just use /hop -c #
This saves you the step in calling the bot name.
Also, you have to be aware that by telling users who don't have the access will likely get spammed...so you might want to add a trigger control. Or better yet, just remove the else and keep the $istok part.