Just one thing, you should change "
echo $color(normal) $chan $+(<,$nick,>) %str" to
echo -mbflirtc normal $chan $+(<,$nick,>) %str
to take advantage of mIRCs timestamp|highlight|strip|beep|flash|indent|switbutton coloring etc. See
/help /echo for info on the -mbflirtc switches.
You can also omit the "
c normal".