I made the error stop. The /save -rv command was called on an alias from time to time, in addition to the ON EXIT one. My bot has an RSS script that is running all the time calling your entire list in sequence, opening and closing in a loop. Today there are a total of more than 100 RSS.

I noticed that mIRC was getting lost at some point when /save -rv was called when RSS sockets were active. With them turned off, the problem no longer occurs. The question remains why there is no error in the variable editor?

I believe that because I use dynamic variables, such as:
% [ $+ [ $+($sockname,.temp.mark) ] ]

This example is one of several other variables.

After I left the bot saving only in ON EXIT with the RSS Sockets turned off before exiting, the problem no longer occurred. When I posted the question here and tested it on different computers, there was another mIRC open alongside running the RSS sockets. And perhaps the memory is being shared in both and it gave the ON EXIT error.

NOTE: I don't have any routine that saves, checks or does anything in vars.ini. I just use /save -rv vars.ini