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?