Thanks for the reply.

I know what $duration is .......

I pointed out that I cant modify mirc.ini while its running ......

I didn't even THINK it would be possible to use an %alias in the quit message field ... but voila ...

Thanks!