What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Show status of a server in my personal message

Show status of a server in my personal message
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Show status of a server in my personal message
code:
function OnEvent_Initialize(){
        http_request = new ActiveXObject("Microsoft.XMLHTTP");
        http_request.open('GET', "http://website.com", true);
        http_request.onreadystatechange = event;
        http_request.send();
}

function event(){
        if (http_request.readyState == 4) {
                if (http_request.status != 12007) {
            Messenger.MyPersonalMessage="My Server is working";               
        }else{
            Messenger.MyPersonalMessage="My Server is down";
        }
        }
}

This post was edited on 09-15-2007 at 05:21 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
09-15-2007 04:59 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 04:35 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 04:46 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 04:50 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 04:59 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 05:09 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 05:10 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 05:14 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 05:22 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 05:24 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 05:26 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 05:27 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 05:29 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 05:32 PM
RE: Show status of a server in my personal message - by Spunky on 09-15-2007 at 05:33 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-15-2007 at 07:13 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-17-2007 at 04:06 PM
RE: Show status of a server in my personal message - by toddy on 09-17-2007 at 04:25 PM
RE: Show status of a server in my personal message - by elliotmoso on 09-17-2007 at 04:34 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