I don't think it actually possible to stop the channel from closing, the best you could do is to immediately rejoin the channel, maybe with the following...

Code:
 
on *:PART:*: {
  .timer 1 0 join $chan
}