it's been a while since I've done anything with miRC, but I'm pretty sure that,

on *:PART:#:{
if ($chan == #onlineinfo) && ($nick == $me) .join #onlineinfo
}

then again, creating a script, that forces users to stay in your channel, will probably be frowned upon by other users.