//Quiz Cube V1.0
default
{
touch_start(integer num_detected)
{
llInstantMessage(0, "Would you like to take the quiz? If so, please type 'yes' in the chat box. Type anything else to cancel."
;}
}
gToucher key;
state new
{
state_entry()
{
llListen(0, "", gToucher, ""
;llSetTimerEvent(30.00);
}
listen(integer channel, string name, key id, string message) //Syntax error appears here.
{
if (message=="yes"

{
llInstantMessage(id, name + ", your quiz well begin!"
;}
else(message==""
;{
llInstantMessage(id, name+ ", come back next time!"
;}
state new;
touch_start(integer total_value)
{
llInstantMessage(0, "What is the chemicle compound- 'H2SO4'? You have 1 minute to answer! First word is UPPER CASE, second word is lower lase."
}
state_entry()
{
llListen(0, "", gToucher, ""
;llSetTimer(60.00);
}
llListen(integer channel, string name, key id, string message)
{
if (message=="Sulphuric acid"

{
llInstantMessage(0, "Right answer! On to question two!"
;}
}
else(message==""

{
llInstantMessage(0, "Wrong, start over!"
;}
state new;
touch_start(integer total_value)
{
llInstantMessage(0, "What is the most basic expression in lsl to make an object say something? Hint: It applies to 30 meteres. Type it EXACTLY as you would if you were scripting."
;state_entry()
{
llListen(0, "", gToucher, ""
;llSetTimer(60.00);
}
llListen(integer channel, string name, key id, string message)
{
if (message=="llSay"

{
llInstantMessage(0, "Right! Next is question three! Final question."
;}
state new;
touch_start(integer total_value)
{
llInstantMessage(0, "-i, the square root of -1, is really what number? *Hint, it has to be positive."
;state_entry()
{
llListen(0, "", gToucher, ""

llSetTimer(60.00)
}
llListen(integer channel, string name, key id, string message)
{
if (message=="1"

{
llInstantMessage(0, "Congratuslations! You win-"
;}
else (message==""

{
llInstantMessage(0, "Sorry, start again."

}
}
I would really like if you told me what I'm doing wrong, in place of telling me a script that would actually work. This is for practice purposes, so I don't actually need the script corrected, I just need some one to tell me what I should correct, thank you.

message == ""