Board Thread:General Coding Help/@comment-34101888-20161019024858

Hi there.

I'm writing a chat script that uses inline alerts. So far, to display the inline alerts, I use this: mainRoom.model.chats.add (new models.InlineAlert ({text: 'text'}));

But this only works in the main chat, and I need the alert to be also displayed in the PMs.

Is there any way of doing this? Thanks. and sorry for my terrible level of English . 