This is quite strange. We are using the same version of mIRC, but this script works fine for me, but not for you. Apparently you are doing something wrong or your client is broken.
Try
download new mIRC and install it in a different folder, then load only this script into the tab "
Remote" using the key "
ALT+R" combination, to see what happens.
You can also connect to my IRC server and join the #Code channel to discuss your problem in chat. Perhaps I or someone else can help you solve this problem.