What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Help » Two problems irking me

Two problems irking me
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. Two problems irking me
I guess its time I got these two things remedied...

First problem I have, is that all of the exclamation commands that I send (ex: !np for the NowPlaying script, but is not limited to this) will be parsed on my end, as well as for my contact. I'm using the timestamps with SP, might this be the problem? If not, what can I do to fix?

Second problem: Due to a dodgy wireless connection, I have a problem of also losing my WLM connection. When WLM reconnects, it will always set my status to online, instead of whatever status I was previously at before being disconnected (Custom status too, but I know there isn't a fix for that yet, or is there?) any way of setting the status the way it was before I get disconnected?
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
04-30-2007 05:57 PM
Profile PM Web Find Quote Report
TheGuruSupremacy
Full Member
***

Avatar

Posts: 367
Reputation: 19
34 / Male / Flag
Joined: Nov 2006
RE: Two problems irking me
quote:
Originally posted by MeEtc

First problem I have, is that all of the exclamation commands that I send (ex: !np for the NowPlaying script, but is not limited to this) will be parsed on my end, as well as for my contact. I'm using the timestamps with SP, might this be the problem? If not, what can I do to fix?

quote:
Originally posted by Matty
CookieRevised's reply to [Fix] Problem with OnEvent_ChatWndRecieveMessage's Origin

quote:
Originally posted by Meetc
Second problem: Due to a dodgy wireless connection, I have a problem of also losing my WLM connection. When WLM reconnects, it will always set my status to online, instead of whatever status I was previously at before being disconnected (Custom status too, but I know there isn't a fix for that yet, or is there?) any way of setting the status the way it was before I get disconnected?

I don't know if it work..but i should work Remember Status By CookieRevised

This post was edited on 04-30-2007 at 07:23 PM by TheGuruSupremacy.
04-30-2007 07:17 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Two problems irking me
ok, problem two is close enough to being fixed.

would I just copy Cookie's code and paste it in the script somewhere for the first problem??
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
04-30-2007 07:33 PM
Profile PM Web Find Quote Report
TheGuruSupremacy
Full Member
***

Avatar

Posts: 367
Reputation: 19
34 / Male / Flag
Joined: Nov 2006
RE: Two problems irking me
quote:
Originally posted by MeEtc
ok, problem two is close enough to being fixed.

would I just copy Cookie's code and paste it in the script somewhere for the first problem??

Yes :).I hope to have been helpful


04-30-2007 07:38 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Two problems irking me
nope, didn't work right
quote:
PONG! says (4:51 PM):
!np
Adam / MeEtc  says (4:51 PM):
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:43 from http://relay.ispfr.radioabf.net:8000 )
!np
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:54 from http://relay.ispfr.radioabf.net:8000 )
PONG! says (4:51 PM):
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:54 from http://relay.ispfr.radioabf.net:8000 )

"pong!' is a trashing account of mine, i used polygamy. but it does not have a custom name. My guess is that I just put the code in the wrong place / wrong file
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
04-30-2007 08:06 PM
Profile PM Web Find Quote Report
TheGuruSupremacy
Full Member
***

Avatar

Posts: 367
Reputation: 19
34 / Male / Flag
Joined: Nov 2006
RE: RE: Two problems irking me
quote:
Originally posted by MeEtc
nope, didn't work right
quote:
PONG! says (4:51 PM):
!np
Adam / MeEtc  says (4:51 PM):
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:43 from http://relay.ispfr.radioabf.net:8000 )
!np
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:54 from http://relay.ispfr.radioabf.net:8000 )
PONG! says (4:51 PM):
        NP:         Depeche Mode - Precious (Commuter Mix) (Streaming for 94:54 from http://relay.ispfr.radioabf.net:8000 )

"pong!' is a trashing account of mine, i used polygamy. but it does not have a custom name. My guess is that I just put the code in the wrong place / wrong file


Try my fixed script It should work

.plsc File Attachment: musicNowplaying_fixed by thegurusupremacy.plsc (136.5 KB)
This file has been downloaded 106 time(s).
04-30-2007 08:28 PM
Profile PM Find Quote Report
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Two problems irking me
i would, but i'm using a different version. can you just post what you edited, so that I can change it?
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
04-30-2007 08:35 PM
Profile PM Web Find Quote Report
TheGuruSupremacy
Full Member
***

Avatar

Posts: 367
Reputation: 19
34 / Male / Flag
Joined: Nov 2006
RE: Two problems irking me
quote:
Originally posted by MeEtc
i would, but i'm using a different version. can you just post what you edited, so that I can change it?

to main.js at the bottom put:

var aSent = new Array();

then:

code:
function OnEvent_ChatWndSendMessage(wnd,message){
    aSent[wnd.Handle] = message;
    if(message.match(/\(!WAT\)/gi)){
        return message.replace(/\(!WAT\)/gi,sendCurrentSong('Winamp',prefs.get('wat')));
    }else if(message.match(/\(!IWAT\)/gi)){
        return message.replace(/\(!IWAT\)/gi,sendCurrentSong('iTunes',prefs.get('wat')));
    }else if(message.match(/\(!WWAT\)/gi)){
        return message.replace(/\(!WWAT\)/gi,sendCurrentSong('WMP',prefs.get('wat')));
    }else if(message.match(/\(!JWAT\)/gi)){
        return message.replace(/\(!JWAT\)/gi,sendCurrentSong('jetAudio',prefs.get('wat')));
    }else if(message.match(/\(!MWAT\)/gi)){
        return message.replace(/\(!MWAT\)/gi,sendCurrentSong('MusicMonkey',prefs.get('wat')));
    }
   
    ob = {"text" : false}
    triggerEvent("OnEvent_ChatWndSendMessage", wnd, message, ob);
    if(ob.text){
        return ob.text;
    }
   
    switch(message){
        case "/pause" : getPlayer().Pause();return '';
        case "/play" : getPlayer().Play();return '';
        case "/stop" : getPlayer().Stop();return '';
        case "/next" : getPlayer().Next();return '';
        case "/prev" : getPlayer().Prev();return '';
        case "/sendsong" : transferSong(wnd);return '';
        case "/lyrics" : openLyricWnd();return'';
    }
   
}




function OnEvent_ChatWndReceiveMessage(wnd, origin, message){


  if (aSent[wnd.Handle] === message) {
        delete aSent[wnd.Handle];
    } else {
        var remoteSong = prefs.get('remote/song');
        var remoteSend = prefs.get('remote/send');
        var remoteShare = prefs.get('remote/shared');
       
        remoteSong = (remoteSong == -1 ) ?  "!np" : remoteSong;
        remoteSend= (remoteSend == -1 ) ?  "!sendsong" : remoteSend;
        remoteShare = (remoteShare == -1 ) ?  "!addtoshared" : remoteShare;
   

   
        if(remoteSong != "" && prefs.get('remote/enabled/song')){
            if(message.match(new RegExp("^" + remoteSong.preg_quote() + "$","i"))){
                wnd.SendMessage(sendCurrentSong());
            }
        }
        if(remoteSend != "" && prefs.get('remote/enabled/send')){
            if(message.match(new RegExp("^" + remoteSend.preg_quote() + "$","i"))){
               
                if(!transferSong(wnd,1)){
                    wnd.SendMessage(prefs.get('notrunning').replace('{player}',"unknown"));
                }
               
            }
        }
       
        if(remoteShare != "" && prefs.get('remote/enabled/shared')){
            if(message.match(new RegExp("^" + remoteShare.preg_quote() + "$","i"))){
                copyToShareingFolder(wnd.Contacts, wnd);
            }
        }
       
    }
}


04-30-2007 08:47 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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