I would like to emulate the action of a JOIN command with respect to writing text to the channel joined adding some useful information about the nickname who joined.

/echo <color> $<channel> <message text> writes <message text> to the client's window only.

/msg and /say do not have a provision for specifying color of the message text. Despite a search of the help files and the support forums I can't find a way to imbed a color code in the message as would occur if typing ctrl-K<color number> in the input box.

Any suggestions are welcome, including, "See <topic> in the help file."