Hum, I came accross this problem again, and I once again spent quite some times figuring it out.
So yeah, whenever you have a line that is part of a whole if/elseif/else structure, and that line is parsed but ignored, if you have a block of commands on one line and if the last command of that block is commented out with a ';' (or the /rem command), the parsing is not working correctly anymore

Note the following, weird related things:
Code:
alias test_comment {
  echo -a hello
  if (1 == 2) { noop | ;r }
  else { noop | ;r }
  echo -a bye
}
/test_comment displays:
Quote:
hello
* /if: close bracket not found (line 2, script4.mrc)
line 2 being "echo -a hello".

Should this be fixed or am I not supposed to use ; to comment out that way (the undocumented /rem command behaves the same)?


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