You missed the point.
That mIRC evaluates %a in #2, that's correct behavior, if during that process, %a is not found as local but is found as global and its value is returned, that's also correct.
If you make me set a global variable %a, and mIRC evaluates that variable just like we agree it should, yes I'll get that value, still correct behavior, but that's irrelevant to the point, which is that I specified I had no global variables set before running the test.
I can make a video if you don't trust this is possible.

With that in mind, if there are no global variables set prior the test and that you type /testsw and you get a value different from $null for #2, how do you explain it?

I'll try to reproduce again because it really sounds like I had a global %a set, in any case the behavior should not be changed.

Last edited by Wims; 02/09/14 04:38 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel