Quote:
Actually, single-line /if statements dont show a line number.
Actually it is single line events, single line aliases return the correct error message.

on *:open:?:bah: if ($1 = 1 { echo -s hello }      << * /if: invalid format
alias bah if ($1 = 1 { echo -s hello }             << * /if: invalid format (line N, file.mrc)

The same for $scriptline.