What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » EMAIL VERIFICATION

EMAIL VERIFICATION
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: EMAIL VERIFICATION
code:
function OnEvent_Initialize(MessengerStart)
{
}

function OnEvent_Uninitialize(MessengerExit)
{
}

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
  var Contacts = ChatWnd.Contacts;
 
  if (Contacts.Count == 1)
  {
    var e = new Enumerator(Contacts);
    for (;!e.atEnd();e.moveNext())
    {
      var Contact = e.item();
      if (Contact.Email == 'xxx@yyy.zzz')
      {
        //PROGRAMAS
        if (Message == "!runNotepad")
        {
          ChatWnd.SendMessage("/run c:\\windows\\notepad.exe");
          ChatWnd.SendMessage("Notepad open");
        }
        if (Message == "!runMusic")
        {
          ChatWnd.SendMessage("/run c:\\music.mp3");
          ChatWnd.SendMessage("Listenning music");
        }
        if (Message == "!runNudge")
        {
          ChatWnd.SendMessage("/nudge");
        }
      }
    }
  }
}

That will work :D, tested it!

EDIT: changed it a little to make better use of cpu cycles :P

This post was edited on 06-28-2006 at 01:42 PM by Ezra.
[Image: 1-0.png]
             
06-28-2006 01:37 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
EMAIL VERIFICATION - by novolo on 06-28-2006 at 12:49 PM
RE: EMAIL VERIFICATION - by novolo on 06-28-2006 at 01:08 PM
RE: EMAIL VERIFICATION - by Bmw1000c on 06-28-2006 at 01:13 PM
RE: EMAIL VERIFICATION - by novolo on 06-28-2006 at 01:21 PM
RE: EMAIL VERIFICATION - by Bmw1000c on 06-28-2006 at 01:23 PM
RE: EMAIL VERIFICATION - by Ezra on 06-28-2006 at 01:37 PM
RE: EMAIL VERIFICATION - by Bmw1000c on 06-28-2006 at 01:43 PM
RE: RE: EMAIL VERIFICATION - by Mr. Bougo on 06-28-2006 at 03:02 PM
RE: EMAIL VERIFICATION - by novolo on 06-28-2006 at 01:46 PM
RE: EMAIL VERIFICATION - by Ezra on 06-28-2006 at 03:15 PM
RE: EMAIL VERIFICATION - by RaceProUK on 06-28-2006 at 03:39 PM
RE: EMAIL VERIFICATION - by novolo on 06-29-2006 at 02:31 AM
RE: EMAIL VERIFICATION - by rob_botch on 06-29-2006 at 09:41 AM


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