Try starting with the code from this thread. And also, be sure to read the link about msl injection, to prevent shenanigans by people creating a message that would be evaluated in your timer. It looks like your code is relaying from/to the same channel, and then you modified it to remove the usage of $unsafe, when it was put there for a good reason

https://forums.mirc.com/ubbthreads....chat-from-1-server-to-another#Post263256