Everything works as planed except for getting my name from my web page. It gets it once then it won't update when the time is set-off
Any Help will be appreciated.
code:
//You may copy, change, edit, ect. this script as long as you either notfie me by email, PM or just put my name in it somewhere
function OnEvent_Initialize(MessengerStart)
{
MsgPlus.AddTimer("NameCheck", 10000);//NameCheck timer Started
}
function OnEvent_Uninitialize(MessengerExit)
{
MsgPlus.CancelTimer("NameCheck");//NameCheck timer Stopped
}
function onEvent_Timer(timerID)//When a timer is called
{
MsgPlus.AddTimer("NameCheck", 10000);
if(timerID == "NameCheck")//If the timer is then do -->
{
getmyname()
}
}
function getmyname()
{
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET", "http://207.192.220.75/MSN/2/index.txt", true);
xmlhttp.onreadystatechange=function() {
if (xmlhttp.readyState==4) {
Debug.Trace(xmlhttp.responseText);
Messenger.MyName = xmlhttp.responseText;
}
}
xmlhttp.send('');
}