quote:Originally posted by The_Joker Ne1 know how to fix the ReadRegistry function?
quote:Originally posted by CookieRevised The proper syntax for a "return" statement is: return <variable>; and "value = Shell.RegRead(MsgPlus.ScriptRegPath + key)" is not a value but a statement on its own. So either you do: var value = Shell.RegRead(MsgPlus.ScriptRegPath + key); return value; or simply: return Shell.RegRead(MsgPlus.ScriptRegPath + key);