MUC Semi-persistency

Hello,

Is it possible to make MUC persistent but only for a limited amount of time so after all clients are disconnecting I can configure amount of time in which after that time the MUC will be deleted?

If not, can you point me to a reference for writing my own extensions (pljug-ins) for open fire so I can add that functionallity myself

Thanks a lot!

Adi