there is a mirc script compiler

from memory you can find it at www.mirc.com

and im pretty sure its called mirc.exe

it compiles one line at a time and executes that line.

Pretty clever considering a line could be being made up within the script itself, so cant be compiled before hand.