Solved in mIRC 6.15
33.Fixed while/if bug when using $iif() in comparisons.