I am using mIRC 6.03 and it does just that.
* /if: invalid format (line 2, script1.ini)
Code:
alias num {
  if ($1 == 1 { echo -a The number is one. }
  else { echo -a Unknown number. }
}

That's what I used to test it.