Are you using the latest version of mIRC which is 6.16? If not, then this script will not work properly.