What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Simple Script to send message to PHP Script

1 votes - 5 average   [Request] Simple Script to send message to PHP Script
Author: Message:
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: [Request] Simple Script to send message to PHP Script
Sorry, but I think this should work (not tested, I'm on Linux).

code:
var whitelist = Array();
whitelist[0] = "asdf@asdf.com";
// Add more here!

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
  if(Messenger.MyStatus == STATUS_AWAY || Messenger.MyStatus == STATUS_IDLE)
  {
    for each(email in whitelist)
    {
      // Multi-conversations won't work yet.
      if(email == ChatWnd.Contacts[0].Email)
      {
        SendToPHP(email, Message);
      }
    }
  }
}
4 8 15 16 23 42
03-06-2008 04:58 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Simple Script to send message to PHP Script - by Dempsey on 03-06-2008 at 03:40 PM
RE: [Request] Simple Script to send message to PHP Script - by vikke on 03-06-2008 at 04:58 PM
RE: [Request] Simple Script to send message to PHP Script - by markee on 03-06-2008 at 09:45 PM
RE: [Request] Simple Script to send message to PHP Script - by Dempsey on 03-07-2008 at 11:43 AM
RE: [Request] Simple Script to send message to PHP Script - by Richy on 03-07-2008 at 03:43 PM
RE: [Request] Simple Script to send message to PHP Script - by Matti on 03-07-2008 at 05:49 PM
RE: [Request] Simple Script to send message to PHP Script - by Richy on 03-08-2008 at 08:51 AM
RE: [Request] Simple Script to send message to PHP Script - by Spunky on 03-08-2008 at 11:08 AM
RE: [Request] Simple Script to send message to PHP Script - by Richy on 03-08-2008 at 11:17 AM
RE: [Request] Simple Script to send message to PHP Script - by effection on 03-14-2008 at 08:03 PM
RE: [Request] Simple Script to send message to PHP Script - by Richy on 03-15-2008 at 08:43 AM
RE: [Request] Simple Script to send message to PHP Script - by Richy on 03-19-2008 at 04:19 PM
RE: RE: [Request] Simple Script to send message to PHP Script - by yenerich on 04-04-2008 at 10:12 PM


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