Is there a way to enter a message in a active channel through a program or from DOS?

Regards, GB