Shoutbox

Scripting Error. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Scripting Error. (/showthread.php?tid=93333)

Scripting Error. by Jeremey on 12-26-2009 at 06:19 PM

Ok I'm doing some nooby Scripting. And I have a problem with it. When I click Save All and I go over to the Debug Window, I have this error
Error: Expected '(' (code: -2146827283)
       File: My First Script.js. Line: 21.

What could the problem be? I'll paste Line 20-21
20     function OnEvent_MyStatusChange
21     {

Any help at all?


RE: Scripting Error. by Mnjul on 12-26-2009 at 07:05 PM

Append (newstatus) after "Change" so it looks like:

jscript code:
function OnEvent_MyStatusChange(newstatus)
{

RE: RE: Scripting Error. by Jeremey on 12-26-2009 at 07:26 PM

quote:
Originally posted by Mnjul
Append (newstatus) after "Change" so it looks like:
jscript code:
function OnEvent_MyStatusChange(newstatus)
{


I love you. It works now! Hope you had a good Christmas! Thanks!