I assume you want the new destination in channel to be an echo which only you see, because sending a message/notice to channel which others see can cause you to be disconnected for spamming. In place of

aline 1 @why

you can use

echo -g $chan

The -g keeps the echo from going to your disk .log file.

Note that there is a little bit of a logic problem in this line:

if ($nick != chanserv) || ($nick == $me) { goto end }

This branches to "end" always except when your own nick is chanserv which should never happen. I'm guessing that you really want this to branch only if nick is $me. Instead of branching to a do-nothing label, it's probably simpler to just use "return" which quits the event handler with no further action.