I've found a bug with KTE and mIRC 6.17. The problem is that KTE keeps adding in $1$3 at the beginning of event lines. I've traced the problem down to a $regsub in the kte_pcomp alias, and it appears the problem has to do with #157 of the versions.txt.

Here's the original line 532 that worked fine with mIRC 6.16:
Code:
while ($regsub(%v, /((\s|\A)[^$%\x28,\[\]][^\x20\x29,]*) \$\+ ([^$%\[\]]\S*(\s|\Z))/, $!1$3, %v) > 0) { }


now I've tried changing the $!1$3 to /!1/3 and now instead of adding a $1$3 it only adds !1 to the event lines. I'm not very good with regexes, so i'm guessing I didn't make that change correctly. If anyone can help me fix that regex so it works the correct way with the new mirc version that would be great.

thanks.