quote:
From the Scripting Documentation
A string containing the path to the script's registry key. The path begins with "HKCU\" to designate the HKEY_CURRENT_USER key and ends with a backslash.
Sorry Cookie, but Plus gives you a Registry path ending with a backslash. If fixing the return statement doesn't fix it, I would imagine the error is because the variable key is not valid. Registry keys are case sensitive as awell, aren't they? Open regedit (via Start > Run) and check that the key you are looking for is actually there.
The Scripts Registry path is:
"HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\"
Followed by the name of the script.