What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Display IP In PM

[Request] Display IP In PM
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: [Request] Display IP In PM
The replace part of that code needs editing as it is commenting out the function... Tried using an escape character, but I'm not to good with them ;)

EDIT: My very simple solution lol

code:
function OnEvent_Initialize(){
myVar = LoadXmlDoc('http://www.msgpluslive.net/software/getip.php')
myVar = myVar.replace("*", '');
myVar = myVar.replace("*", '');
Messenger.MyPersonalMessage = "My IP is: "+myVar
}

function LoadXmlDoc(sUrl){
Interop.Call('wininet.dll', 'DeleteUrlCacheEntryW', sUrl);
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open('GET', sUrl, false);
xmlhttp.send();
return xmlhttp.responseText;
}

EDIT2: Wheres my rep? :p

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

Messages In This Thread
[Request] Display IP In PM - by Ickbal on 10-04-2006 at 08:22 PM
RE: [Request] Display IP In PM - by matty on 10-05-2006 at 04:41 AM
RE: [Request] Display IP In PM - by Ickbal on 10-05-2006 at 07:31 PM
RE: [Request] Display IP In PM - by Spunky on 10-05-2006 at 08:04 PM
RE: [Request] Display IP In PM - by Ezra on 10-05-2006 at 08:26 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