mIRC Homepage
Posted By: bbck mIRC not remembering variables - 24/06/03 10:42 AM
I currently run only 2 scripts, both which store their settings in variables. But whenever I close mIRC it's not saving them which forces me to manually reload the scripts every time I start mirc and having to reset all my settings for the script. I never had a problem before untill I uninstalled then reinstalled mirc after formating my computer. Is this just a setting in my options I did wrong?

Thanks
Posted By: codemastr Re: mIRC not remembering variables - 24/06/03 04:36 PM
It would sound like you have a script with an ON EXIT or ON DISCONNECT event that might be clearing the variables.
Posted By: bbck Re: mIRC not remembering variables - 24/06/03 05:06 PM
Nope, no ON EXIT or ON DISCONNECT
Posted By: codemastr Re: mIRC not remembering variables - 24/06/03 05:18 PM
could be an ON START too.
Posted By: Raccoon Re: mIRC not remembering variables - 24/06/03 08:44 PM
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?
Posted By: KingTomato Re: mIRC not remembering variables - 25/06/03 12:56 AM
your variables vile may also be read-only? Allowing mirc to only store values in memory, and when it tryed to dump on exit it fails?
Posted By: bbck Re: mIRC not remembering variables - 25/06/03 04:48 AM
How did you fix it?
Posted By: bbck Re: mIRC not remembering variables - 25/06/03 04:49 AM
Nope checked that it fine.
Posted By: Raccoon Re: mIRC not remembering variables - 25/06/03 05:37 AM
In the mIRC Editor, I simply went to File > Load > Variables and selected variables.ini (create an empty file by that name if one doesn't exist)
© mIRC Discussion Forums