So I discovered these bugs lately...

Looks like the () around the if statement makes it execute the command after ) if it's true
//noop $iif((1 isnum) echo -ag fail,1)
returns (echoes):
fail /!return 1

And.. mIRC has troubles parsing:
//echo -a $replace(ab.,},}) . c
returns(echoes):
abc