|  [Request] Multi msg script | 
| Author: | 
Message: | 
ombadboy 
Junior Member 
  
  
 
Posts: 30 
Joined: Jun 2006 
 | 
| 
O.P.  [Request] Multi msg script
 Ive requested it before, but didnt seem to get the result i needed. 
 
Is there any script, or some1 cud script something that wud message ALL online contacts? 
 
e.g !all "your text here" would message all contacts that are online (regardless if their window is open or not as with /all ) 
 |   
 | 
| 08-29-2006 11:22 PM | 
 | 
  | 
Huhu_Manix 
Full Member 
   
  
  
Upload me again... *salivate*
  
Posts: 106 
– /   / – 
Joined: Jul 2006 
 | 
 RE: [Request] Multi msg script
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); 
   wnd.SendMessage(msg); 
  } 
 } 
} 
}
  
This could work but it think there'll be a sending problem...too much message. :s  
 This post was edited on 08-29-2006 at 11:49 PM by Huhu_Manix.
 |   
 | 
| 08-29-2006 11:46 PM | 
 | 
  | 
rob_botch 
Full Member 
   
  
  
 
Posts: 180 Reputation: 4 
35 /   /   
Joined: Apr 2006 
 | 
| 
 RE: [Request] Multi msg script
 Well you could make a script that would look through the contact list, and open a window with all online contacts, then send a message starting with /all. But this isn't a very neat way of doing it. 
 
EDIT: This would bypass the sending limits. 
 This post was edited on 08-30-2006 at 08:44 AM by rob_botch.
 |   
 | 
| 08-30-2006 08:43 AM | 
 | 
  | 
ombadboy 
Junior Member 
  
  
 
Posts: 30 
Joined: Jun 2006 
 | 
O.P.  RE: [Request] Multi msg script
any ides on how to go on about doing that?   
 
 |   
 | 
| 08-30-2006 11:04 AM | 
 | 
  | 
foaly 
Senior Member 
    
  
  
 
Posts: 718 Reputation: 20 
39 /   /   
Joined: Jul 2006 
 | 
 RE: [Request] Multi msg script
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...
  
 |   
 | 
| 08-30-2006 11:29 AM | 
 | 
  | 
ombadboy 
Junior Member 
  
  
 
Posts: 30 
Joined: Jun 2006 
 | 
| 
O.P.  RE: [Request] Multi msg script
 emm.. i tried it out.. 
 
it sends it to sum contacts, then i get error for exceeding message limit per minute 
 
edit: the one foaly posted doesnt quite work.. 
 This post was edited on 08-30-2006 at 02:07 PM by ombadboy.
 |   
 | 
| 08-30-2006 02:02 PM | 
 | 
  | 
Huhu_Manix 
Full Member 
   
  
  
Upload me again... *salivate*
  
Posts: 106 
– /   / – 
Joined: Jul 2006 
 | 
 RE: [Request] Multi msg script
The script post by foaly should work without message limit.   
Did you try my script or foaly's script ?  
 |   
 | 
| 08-30-2006 03:49 PM | 
 | 
  | 
ombadboy 
Junior Member 
  
  
 
Posts: 30 
Joined: Jun 2006 
 | 
O.P.  RE: RE: [Request] Multi msg script
quote: Originally posted by Huhu_Manix 
The script post by foaly should work without message limit.   
 
Did you try my script or foaly's script ? 
  
your script works fine, but i get the error with the message limit
 
foaly's script doesnt work at all..  
 |   
 | 
| 08-30-2006 09:58 PM | 
 | 
  | 
foaly 
Senior Member 
    
  
  
 
Posts: 718 Reputation: 20 
39 /   /   
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  
 |   
 | 
| 08-31-2006 04:54 PM | 
 | 
  | 
skyserpent 
Junior Member 
  
  
Bacon
  
Posts: 96 
33 /   / – 
Joined: Aug 2006 
 | 
| 
 RE: [Request] Multi msg script
 it brings every window up and tries to send the message but i get 
 
  The following message could not be delivered because you have exceeded the maximum number of messages per minute. Please try again later. 
this message is just testing one of my scripts 
 
it sends to a couple and the rest i get ^^ 
 |   
 | 
| 08-31-2006 11:44 PM | 
 | 
  | 
| 
Pages: (2): 
« First
  
 [ 1 ]
 2
 
»
 
Last »
 | 
| 
 |