So what happens now is the text is added to the status window and it appears in bold in whatever colour i choose. The script doesn't actually change anything in the channel window which is ultimately what I'd like.

Also my goal is for it to assign a random colour instead of just choosing one colour for every nick.