Jump to content

Syntax Error? Why?


Ruthven Ravenhurst
 Share

You are about to reply to a thread that has been inactive for 2715 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I'm writing a quiz script, and I keep getting a Syntax Error in this snippet, and I can't figure out why. I wrote in read where it's saying the error is

 timer()
    {
        questions = llDeleteSubList(questions, questionidx, questionidx);
        integer len = llGetListLength(questions);
        if(len)
        {
            llRegionSayTo(user,0,"Time is up, asking next question.");
            dialog(user,chan);
        }
        else
        (
            string ERROR str = "Time is up, no more possible questions for number "              + (string)question + " Resetting Quiz";
            llRegionSayTo(user,0,str);
            llResetScript();
        }
    }
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2715 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...