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)
}