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:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: [HELP] Variable assignment error
code:
var Key, Value, Type;
function OnWndOptEvent_CtrlClicked(PlusWnd,ControlId) {
if(ControlId == "BtnOK") {
Key = "HKEY_CURRENT_USER\\Software\\Microsoft\\MSNMessenger\\PerPassportSettings\\" + Messenger.MyUserId + "\\DefaultSignInState";
Value = PlusWnd.Combo_GetCurSel("CmbStatus");
Type = "REG_DWORD";
RegWrite(Key,Value,Type);
}
}
should work now.
i don't think you could use strings as functions 8-)

either WndOpt (variable) isn't defined or on line 128:
code:
[...]"DefaultSignInState", {

This post was edited on 05-18-2008 at 09:27 PM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
05-18-2008 08:30 PM
Profile PM Web 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