If it works in 1 mIRC but not another, then the script works except for you figuring out why it doesn't work in one of them. Such as one of them has network privileges the other doesn't, or has variables set differently or the scripts aren't exactly the same, different mIRC versions, etc.