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
either WndOpt (variable) isn't defined or on line 128:
code:
[...]"DefaultSignInState", {