Is anyone out there familiar with the status2ftp code?
The release version of the script does not upload the numeric equivalent of MSN's status in the XML file. I am trying to add this.
code:
//Details array
this.dtlarray = {
'Username' : Messenger.MyName,
'CleanUsername' : MsgPlus.RemoveFormatCodes(Messenger.MyName),
'PSM' : this.getpsm(),
'CleanPSM' : MsgPlus.RemoveFormatCodes(this.getpsm()),
'Status' : this.status[Messenger.MyStatus],
'NumericStatus' : Messenger.MyStatus,
'LastUpdate' : Math.round(new Date().getTime() / 1000)
};
I added the red line to the script. This works fine, when I first sign into messenger, but it didn't update when my status changed. I recently added this
code:
function OnEvent_MyStatusChange(NewStatus){
Status2FTP.dtlarray.Status = Status2FTP.status[NewStatus];
Status2FTP.dtlarray.NumericStatus = NewStatus;
Status2FTP.savedetails();
if(Status2FTP.cfgarray.EventStatusChange == 'true') Status2FTP.upload();
}
the script now fails to make an upload to the server, but gives no error.
anyone want to help me?
Nevermind, it worked after I re-installed the script and made my changes again