What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need help with name changing script

Need help with name changing script
Author: Message:
DarkCloud
New Member
*


Posts: 2
Joined: Sep 2008
O.P. Need help with name changing script
I tried to use the name changing script to automaticly change names.

But after I had added as many names as I wanted and tried to activate the script, it said that there are some errors in it. Can somebody tell me what's wrong?

MsgPlus.AddTimer('T1', 11000);


var i=0;

    function OnEvent_Timer(TimeId)
    {
        if (TimeId == 'T1')
        {
            i=i+1;
                           
            if (i == 1) Messenger.MyName='name - [ Buy name, ]';
            if (i == 2) Messenger.MyName='name - [ Use name, ]';
            if (i == 3) Messenger.MyName='name - [ break name, ]';
            if (i == 4) Messenger.MyName='name - [ fix name, ]';
            if (i == 5) Messenger.MyName='name - [ trash name, ]';
            if (i == 6) Messenger.MyName='name - [ change name, ]';
            if (i == 7) Messenger.MyName='name - [ upgrade name, ]';
            if (i == 8) Messenger.MyName='name - [ change name, ]';
            if (i == 9) Messenger.MyName='name - [ pawn name, ]';
            if (i == 10) Messenger.MyName='name - [ zoom name, ]';
            if (i == 11) Messenger.MyName='name - [ press name, ]';
            if (i == 12) Messenger.MyName='name - [ charge name, ]';
            if (i == 13) Messenger.MyName='name - [ pawn name, ]
            if (i == 14) Messenger.MyName='name - [ zoom name, ]';
            if (i == 15) Messenger.MyName='name - [ press name, ]';
            if (i == 16) Messenger.Myname='name - [ snap name, ]';
            if (i == 17) Messenger.Myname='name - [ work name, ]';
            if (i == 18) Messenger.Myname='name - [ erase name, ]';
            if (i == 19) Messenger.Myname='name - [ wrnamee name, ]';
            if (i == 20) Messenger.Myname='name - [ get name, ]';
            if (i == 21) Messenger.Myname='name - [ paste name, ]'; 
            if (i == 22) Messenger.Myname='name - [ save name, ]'; 
            if (i == 23) Messenger.Myname='name - [ load name, ]'; 
            if (i == 24) Messenger.Myname='name - [ check name, ]'; 
            if (i == 25) Messenger.Myname='name - [ rewrnamee name, ]'; 
            if (i == 26) Messenger.Myname='name - [ plug name, ]'; 
            if (i == 27) Messenger.Myname='name - [ play name, ]'; 
            if (i == 29) Messenger.Myname='name - [ burn name, ]';
            if (i == 30) Messenger.Myname='name - [ rip name, ]';
            if (i == 31) Messenger.Myname='name - [ drag and drop name, ]';
            if (i == 32) Messenger.Myname='name - [ zip - unzip name, ]';
            if (i == 33) Messenger.Myname='name - [ lock name, ]';
            if (i == 34) Messenger.Myname='name - [ fill name, ]';
            if (i == 35) Messenger.Myname='name - [ curl name, ]';
            if (i == 36) Messenger.Myname='name - [ find name, ]';
            if (i == 37) Messenger.Myname='name - [ view name, ]';
            if (i == 38) Messenger.Myname='name - [ curl name, ]';
            if (i == 39) Messenger.Myname='name - [ jam - unlock name, ]';
            if (i == 40) Messenger.Myname='name - [ surf name, ]';
            if (i == 41) Messenger.Myname='name - [ scroll name, ]';
            if (i == 42) Messenger.Myname='name - [ pose name, ]';
            if (i == 43) Messenger.Myname='name - [ click name, ]';
            if (i == 44) Messenger.Myname='name - [ cross name, ]';
            if (i == 45) Messenger.Myname='name - [ crack name, ]';
            if (i == 46) Messenger.Myname='name - [ twnamech - update name, ]';
            if (i == 47) Messenger.Myname='name - [ name name, ]';
            if (i == 48) Messenger.Myname='name - [ read name, ]';
            if (i == 49) Messenger.Myname='name - [ tune name, ]';
            if (i == 50) Messenger.Myname='name - [ print name, ]';   
            if (i == 52) Messenger.Myname='name - [ scan name, ]';
            if (i == 53) Messenger.Myname='name - [ send name, ]';
            if (i == 54) Messenger.Myname='name - [ fax - rename name, ]';
            if (i == 55) Messenger.Myname='name - [ touch name, ]';
            if (i == 56) Messenger.Myname='name - [ bring name, ]';
            if (i == 57) Messenger.Myname='name - [ obey name, ]';
            if (i == 58) Messenger.Myname='name - [ watch name, ]';
            if (i == 59) Messenger.Myname='name - [ turn name, ]';
            if (i == 60) Messenger.Myname='name - [ leave name, ]';
            if (i == 61) Messenger.Myname='name - [ stop - format name. ]';
            if (i == 62) Messenger.Myname='name - [ name, ]';
            if (i == 63) Messenger.Myname='name - [ name, ]';
            if (i == 64) Messenger.Myname='name - [ name, ]';
            if (i == 65) Messenger.Myname='name - [ name. ]';                   
           
            MsgPlus.AddTimer('T1', 11000);

if (i == 65) i=0;
        }
    }


The "name's" are replacement for some of the actual words, just for the privacy.
09-08-2008 01:10 PM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Need help with name changing script
code:
            if (i == 13) Messenger.MyName='name - [ pawn name, ]


is missing the ending quotation mark. Unterminated String constant means that somewhere in your script, a string has not been closed (like that above).
<Eljay> "Problems encountered: shit blew up" :zippy:
09-08-2008 02:38 PM
Profile PM Find Quote Report
DarkCloud
New Member
*


Posts: 2
Joined: Sep 2008
O.P. RE: Need help with name changing script
Thank you very much, it helped.
09-08-2008 02:47 PM
Profile E-Mail 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