Well it didn't crash here (WinME), but it also didn't work. The first run I got the output of:

6128440

When I ran in the second time, after picking the folder I got:
* Invalid parameters: $com (line 8, script3.mrc)

Seems rather weird that mIRC had no problem with it the first time, then running it again it gives a syntax error...