on *:input:?:if ($left($1,1) != /) { echo -mbflir $chr(91) $+ $me $+ $chr(93) $+ $chr(160) $1- | .msg $active $1- | halt }
on *:input:#:if ($left($1,1) != /) { echo -mbflir $chr(91) $+ $me $+ $chr(93) $+ $chr(160) $1- | .msg $chan $1- | halt }
on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $chr(91) $+ $nick $+ $chr(93) $+ $chr(160) $1- | halt }

? is for message window
# is for channels
* is all of them
you might need to tweak the echo on the message window it lost the timestamp on mine, i didnt look into why, since it was there in the channel window, aslo replaced the $chr(5467) with $chr(91) which is the same thing., your halt(def) stops the input being processed so thats why it wasnt going to channel, I tried using /SAY but even .SAY still echoed the old way it was said, so i used .msg that sends it to nick ($active) or $chan with no local echo..