I made what I think is a nice multi-network/multi-channel relay script. I have one bug that I need to get rid of though. I have a debug window with an alias setup to catch messages sent by the bot from other scripts (snippet below). The problem is when the "split long channel/query messages" option is on that debug alias picks up the second part of the message that Mirc splits and then relays that again.

Is there a way to check if a PRIVMSG was created by Mirc splitting a long line or would my best bet be to turn that option off and manually split long lines in my script?

window -h $+(@,relay_scripts.,$cid)
.debug -in $+(@,relay_scripts.,$cid) relay_scripts


http://scripting.pball.win
My personal site with some scripts I've released.