That must be caused by the script you're using. As you know, /remote off will disable remotes and therefore, fix your problem. However, I assume you don't want them constantly off. Providing help with individual scripts is impossible as we don't know what the code is unless we use the script - even with the large amount of people that help here it's not possible to be knowledgeable about every script as there are hundreds, if not thousands.
Press ALT+R and look through remotes. If you see something that you think you can fix, do so - if you're unsure, don't touch it as it could break the script. I suggest unloading the script completely, delete the script file/folder and redownload/reinstall the script into mIRC.
If you find the code you're having trouble with it's more appropriate to post in the
Scripts & Popups forum.
Regards,