foaly
Senior Member
Posts: 718 Reputation: 20
38 / /
Joined: Jul 2006
|
RE: [Request] Multi msg script
quote: Originally posted by foaly
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);
ChatWnd.SendMessage("/all "+msg);
//here you might want to close all the chatwindows...
return;
}
}
spelling error...
try this one
|
|