Here are some more diagnostic methods, that can help determine the source of the problem:
1. Similar to the previous method, place this one-line code in a new/clean script file in the "Remote" tab: on *:PARSELINE:in:*: echo -a 10TEST04 : $parseline
Next, test your scripts, and if you see red lines with the word "TEST" at the beginning of the text, then copy and publish here all these lines or only those that may be related to the problem. Once you've completed your testing or decided it's enough, you'll want to remove this one-line code so it doesn't interfere with the normal display of messages.
2. Try connecting to a few other known IRC networks from mIRC's internal list and do the same testing to make sure this line only appears on your network.
3. If this annoying line appears on all IRC networks, try to make sure it's not being called by some other script, long ago or recently installed, that you forgot about or just didn't know was doing this. You can use the search in the script editor by pressing the key combination "CTRL+F" and indicate the word(s), for example "set by is connecting from".
Note: When testing, it is advisable to be on only one empty or your favorite channel to avoid unnecessary junk messages that will quickly clutter your window.