Great. Though as I mentioned earlier, you should not use /say because that only works if the cursor is in the editbox for the correct channel.
You should instead replace
/notice %nick message
with
/msg %chan %nick message
You can hide the message from cluttering your own window by using .msg instead of msg
Is ok /notice,no boring in chan. Thanks again sir