Hello, you already reported this issue in 2022 :
https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/270845/

Edit : As I mentioned in the above thread:

Quote
There still might be some concern though, because $iif(1,% $+ test = 1) executed as a command sends %TEST to the server, it does not set, whereas $iif(1,set % $+ test 1) will set correctly, probably related is that $(%a = 1) used to return "set %a 1", and no longer does (return "= 1"), which should never be an issue in itself.
From an objective point of view, it doesn't seem like the fixes of the issues related to variable evaluation mentioned in the above thread should result in this new behavior (i.e $iif(1,% $+ test = 1) not assigning when executed as a command, but also $(%a = 1) no longer evaluating to 'set %a 1') aka I would like a clarification that this bit was also intentionally changed at that time with now '%var = value' assignment executed as a command only working when appearing plain text from the 'root' line, and no longer working if it results from an identifier evaluation

Last edited by Wims; 27/01/26 01:17 PM.

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