What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [beta] Several Scripts Inside

[beta] Several Scripts Inside
Author: Message:
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [beta] Several Scripts Inside
That anti toast flooder doesn't look right.

It can only keep track of 1 person and never unblocks him anymore.

The way I did it, was disable the toast feature of MSN and do it myself.

My script logs the mailadress of everybody that goes offline and if they come online again within 10 seconds the toast won't popup, else it will.

code:
/*
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE":
* <ezra@tsdme.nl> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return - Ezra (Zae)
* ----------------------------------------------------------------------------
* ----------------------------------------------------------------------------
* Thanks:
*
* ----------------------------------------------------------------------------
*/

var a = new Array();

function OnEvent_Timer(TimerId)
{
  for(i in a)
  {
    if (TimerId == a[i])
    {
      a[i] = undefined;
      break;
    }
  }
}

function OnEvent_ContactSignin(Email)
{
    var popup = true;
  for(var i in a){
    if (Email == a[i]){
      popup = false;
      break;
    }
  }
   
    if(popup){
        var Contact = Messenger.MyContacts.GetContact(Email);
        MsgPlus.DisplayToastContact("Toast", Contact.Name, "Heeft zich zojuist aangemeld","","onSignInToast_Click", Email);
    }
}

function OnEvent_ContactSignout(Email)
{
  var eind = a.length + 1;
  for(i=0; i<eind; i++)
  {
        if(a[i] == undefined)
    {
            a[i] = Email;
      break;
        }
    }
    MsgPlus.AddTimer(Email, 10000);
}

function onSignInToast_Click(Email)
{
    Messenger.openChat(Email)
}

This post was edited on 09-21-2006 at 11:57 AM by Ezra.
[Image: 1-0.png]
             
09-21-2006 11:56 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[beta] Several Scripts Inside - by bigbob85 on 09-21-2006 at 05:50 AM
RE: [beta] Several Scripts Inside - by cloudhunter on 09-21-2006 at 08:56 AM
RE: [beta] Several Scripts Inside - by Zoozoo on 09-21-2006 at 09:20 AM
RE: [beta] Several Scripts Inside - by cloudhunter on 09-21-2006 at 09:22 AM
RE: RE: [beta] Several Scripts Inside - by bigbob85 on 09-21-2006 at 09:35 AM
RE: [beta] Several Scripts Inside - by cloudhunter on 09-21-2006 at 09:38 AM
RE: [beta] Several Scripts Inside - by bigbob85 on 09-21-2006 at 09:43 AM
RE: [beta] Several Scripts Inside - by markee on 09-21-2006 at 09:45 AM
RE: [beta] Several Scripts Inside - by Ezra on 09-21-2006 at 11:56 AM
RE: [beta] Several Scripts Inside - by Plik on 09-21-2006 at 03:57 PM
RE: [beta] Several Scripts Inside - by Huhu_Manix on 09-21-2006 at 04:04 PM
RE: [beta] Several Scripts Inside - by Eljay on 09-21-2006 at 05:11 PM
RE: [beta] Several Scripts Inside - by MattyRid on 09-24-2006 at 02:32 AM
RE: RE: [beta] Several Scripts Inside - by bigbob85 on 09-24-2006 at 07:09 AM
RE: [beta] Several Scripts Inside - by Chris4 on 09-24-2006 at 02:50 AM
RE: [beta] Several Scripts Inside - by Kenji on 09-24-2006 at 07:19 AM
RE: [beta] Several Scripts Inside - by noroom on 09-24-2006 at 07:34 AM
RE: [beta] Several Scripts Inside - by markee on 09-24-2006 at 08:17 AM
RE: RE: [beta] Several Scripts Inside - by bigbob85 on 09-24-2006 at 11:04 AM
RE: [beta] Several Scripts Inside - by CookieRevised on 09-24-2006 at 11:59 AM
RE: [beta] Several Scripts Inside - by Chris4 on 09-24-2006 at 10:21 PM
RE: [beta] Several Scripts Inside - by bigbob85 on 09-25-2006 at 01:58 AM
RE: RE: [beta] Several Scripts Inside - by CookieRevised on 09-25-2006 at 06:34 AM
RE: [beta] Several Scripts Inside - by bigbob85 on 09-25-2006 at 09:24 AM
RE: [beta] Several Scripts Inside - by CookieRevised on 09-25-2006 at 10:06 AM
RE: [beta] Several Scripts Inside - by bigbob85 on 10-10-2006 at 12:24 AM
RE: [beta] Several Scripts Inside - by Zoozoo on 10-10-2006 at 06:00 AM
RE: [beta] Several Scripts Inside - by bigbob85 on 10-10-2006 at 08:58 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