quote:
Originally posted by ombadboy
any ides on how to go on about doing that?
won't this work?:
quote:
Originally posted by Huhu_Manix
code:
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
if(Message.substring(0, 5)=="!all "){
var msg = Message.substring(5);
var e = new Enumerator(Messenger.MyContacts);
for(; !e.atEnd(); e.moveNext()){
var Contact = e.item();
if(Contact.Status!=1){
var wnd = Messenger.OpenChat(Contact.Email);
}
}
ChtWnd.SendMessage("/all "+msg);
//here you might want to close all the chatwindows...
return;
}
}
I guess that would work... but I don't want to irritate my contacts to check sorry...