oh, sorry, that's my fault, I forgot the -f switch in the sockread command. with out this switch the line would need to be $crlf terminated.. this switch forces mIRC to read the buffer data regardless.
so in the 'on sockread' event, you will see;
just add the -f switch, like so;