What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Multi msg script

Pages: (2): « First [ 1 ] 2 » Last »
[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
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
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
Profile E-Mail PM Web Find Quote Report
rob_botch
Full Member
***

Avatar

Posts: 180
Reputation: 4
33 / Male / Flag
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
Profile E-Mail PM Web Find Quote Report
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? :P

08-30-2006 11:04 AM
Profile PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
Joined: Jul 2006
RE: [Request] Multi msg script
quote:
Originally posted by ombadboy
any ides on how to go on about doing that? :P
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
Profile E-Mail PM Find Quote Report
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
Profile PM Find Quote Report
Huhu_Manix
Full Member
***

Avatar
Upload me again... *salivate*

Posts: 106
– / Male / –
Joined: Jul 2006
RE: [Request] Multi msg script
The script post by foaly should work without message limit. ^o)

Did you try my script or foaly's script ?
08-30-2006 03:49 PM
Profile E-Mail PM Web Find Quote Report
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. ^o)

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
Profile PM Find Quote Report
foaly
Senior Member
****

Avatar

Posts: 718
Reputation: 20
38 / Male / Flag
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
Profile E-Mail PM Find Quote Report
skyserpent
Junior Member
**

Bacon

Posts: 96
32 / Male / –
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
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On