Shoutbox

[request] relative easy script request - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [request] relative easy script request (/showthread.php?tid=83355)

[request] relative easy script request by wmnone on 04-23-2008 at 03:40 PM

Hello,
I would like to know how to write a script to perform this specific action:
In the event that one person (user@email.com) changes its status from offline to whatever that the script pulls a webpage (http://www.website.com/notify.php), preferably without opening a browser. Is this possible and so yes could anybody be so kind of showing me how? It would be greatly appreciated.
Yours,
wmnone


RE: [request] relative easy script request by matty on 04-23-2008 at 04:22 PM

code:
function OnEvent_ContactSignin( sEmail ) {
    if ( sEmail === 'user@email.com' ) {
        var xml = new ActiveXObject( 'Microsoft.XMLDOM' );
        xml.async = true;
        xml.load( 'http://www.website.com/notify.php' );
        xml = null;
    }
}