What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Variable assignment error

[HELP] Variable assignment error
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. [HELP] Variable assignment error
Hi,

I'm constantly anoyed by an error as I try to assign a varable:

code:
function OnWndOptEvent_CtrlClicked(PlusWnd,ControlId) {
    if(ControlId == "BtnOK") {
        Key = "HKEY_CURRENT_USER" + BackSlash + "Software" + BackSlash + "Microsoft" + BackSlash + "MSNMessenger" + BackSlash + "PerPassportSettings" + BackSlash + Messenger.MyUserId + BackSlash + " DefaultSignInState", {
        Value = WndOpt.Combo_GetCurSel("CmbStatus"); // line 129
        Type = "REG_DWORD";
        RegWrite(Key,Value,Type);
    }
}


The debugger shows "error in line 129: ':' is expected".

In another script I use exactly the same method and it works.
Does Messenger have a bad day today?

Thanks in advance..
05-18-2008 07:53 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Variable assignment error - by SmokingCookie on 05-18-2008 at 07:53 PM
RE: [HELP] Variable assignment error - by roflmao456 on 05-18-2008 at 08:30 PM
RE: [HELP] Variable assignment error - by CookieRevised on 05-18-2008 at 09:15 PM
RE: [HELP] Variable assignment error - by SmokingCookie on 05-19-2008 at 04:47 PM


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