Yepp, but what has been stated there at a later date (I cannot confirm it, I'm just quoting)
might be the general cause for this memory problem, regarding other scripts as well (besides amip):
(...) now UnloadDll is called with parameter 2 on exit, 1 on timeout and 0 on manual unload (before mIRC 6.3 it was called with 0 on exit)
I am unable to provide a scripted sollution for a general "on exit > unload all dlls":
- Cycle all dlls in a while loop isn't working; the loop will stop if the error "* /dll: no such routine 'unload'" occurs.
- Firing timers out of a loop - to trigger the unload of all dlls as separate commands - would probably not work on exit: I suppose mirc will exit the very moment the timers had been
started.