That script goes into an infinite loop. mIRC never has 0 scripts loaded. If you unload your final named script, it will automatically add a script with a generic name like "Script1.mrc." This is the reason I use a "while (%i)" loop instead of "while ($script(%i))"

Nice catch on the fact I've added a remote alias.. we need to combine your and my efforts:

Code:
unloadall var %i = $script(0) | while (%i) { unload -rs $script(%i) | dec %i }


To place in aliases.

Edit:

Froggie, your script has the same problem. while ($script(1)) { } will go into an infinite loop because mIRC never has 0 scripts loaded. Try it out yourself.

Last edited by hixxy; 10/04/11 02:03 PM.