well, /msg $chan is for scripts and remote files. the /msg $active would work in the message box, but must be //msg $active <message> (the // means execute), and /say will work only in events operated by u. Meaning like popups, and in the editbox, but not like on text, on action, etc.
Better yet, what are you trying to do, and I'll see fi I can help better.