Have you tried sending a normal chat message prefaced with /w? I've had a lot of luck with the following:
Code:
msg $chan /w username message