and on msg you shurly want to add a dot.. .msg the dot will make the input text hidden for you.. else it would be like:
(nick) text here <nick> text here
but look how you text look to others, maybe start a clon and look when yo8u type somthing in the channel, i think you have to replace $1- with $2- .. else you will se your nick too..