Thanks for your post. I was able to reproduce this issue. mIRC processes the Windows WM_ENDESSION message (that tells an application that Windows is about to shut down). However, some aspects of the shutdown process in mIRC are slightly delayed (in order to handle custom dialogs, trigger exit scripts, and so on) and were not being performed as Windows terminated mIRC immediately. I have made a change that should resolve this issue in the next beta. In the meantime, the suggestion to use /saveini with a /timer should work.