another way :p
/save > write all channels in $network $+ .inf
/perform > rejoin all channels you have /save
/total > see wich channels you have /save
this code work in any network, nothing to do, really simple.
if you like rejoin automatically, add this code before.