I had this happen to me a long time ago, when I accidentally specified a script file as my variables file. Everything worked fine until I deleted the script. mIRC wouldn't create a new file of the same name, it simply failed to save a variables file when mIRC was closed.
Could be?