Shoutbox

problem changing nick - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: problem changing nick (/showthread.php?tid=65558)

problem changing nick by bran on 08-29-2006 at 08:29 PM

Hi,

I wrote my own script to change the nick every second so that the nick scrolls from the left to the right with dots left and right of it (like "ping-pong" with the nick).

However, after some time I get an error message "Your display name could not be changed." (translated from german), although the nick is changed.

Has the Messenger something like a filter for nickname-changing so that it cannot be changed every second?

If I have an error in the code, here it is:

code:
var curPos = 0;
var text = "bran";
var fullsize = 10;
var spacer = ".";
var inc;


// Run "Ping-Pong"
function OnEvent_Initialize(MessengerStart) {
    MsgPlus.AddTimer("pingpong", 1000);
}

function OnEvent_Timer(timerID) {
    if(timerID == "pingpong") {
        // building the string
        var str = "";
        for(var i = 0; i < pos; i++) {
            str += spacer;
        }
        str += text;
        for(var i = pos + text.length; i < fullsize; i++) {
            str += spacer;
        }
       
        // when at the end, turn and "go back"   
        if(curPos == fullsize-1 && inc == 1)
            inc = -1;
           
        // turn forward again
        if(curPos == 0 && inc == -1)
            inc = 1;
       
        // increment/decrement curPos
        curPos += inc;
       
        // set new Nick
        Messenger.MyName = str;
           
        // keep the loop running
        MsgPlus.AddTimer("pingpong", 1000);
    }
}


Please help me!
RE: problem changing nick by boston on 08-29-2006 at 08:37 PM

some times you get that because the messenger.NET connection was lost but restabishlsed imediatly is happened with me on the swimming psm and nick changer (not this one) but i am using it i will report any bugs or if it starts repeatedly coming up with nickname cannot be changed



P.S since the psm is limited it might be limited for the name..Not sure though


RE: problem changing nick by Chris4 on 08-29-2006 at 08:39 PM

I noticed, when I was changing my nickname too fast, it comes up with the message which says it couldn't change, but appears to be changed.

It doesn't actually change when the message comes up, it just appears to. I asked one of my contact and they said my nickname was different to what I could see.


RE: problem changing nick by bran on 08-29-2006 at 08:54 PM

thank you, so it actually doesn't work :(
and always these error messages are annoying... i thought i had written a cool script ;)


RE: problem changing nick by Deco on 08-29-2006 at 09:01 PM

Messenger server will not allow you to change your nick faster than 10 seconds or so. For anti-spam thing.

Hope that helps.


RE: problem changing nick by DarkMe on 08-29-2006 at 09:03 PM

That's why sometimes i can't change it :s
I only use copy and paste


RE: problem changing nick by J-Thread on 08-30-2006 at 09:07 AM

There is a limit of 10 name changes per minute. That does not mean you will have to wait 6 seconds after a change, but it does mean that you will have to wait for the next minute after you've done 10 changes...