Reply to Re: Script help- riddles
If you don't have an account, just leave the password field blank.
Found it
if (&result == 3);
{
say_stop("'0WRONG!", &current_sprite);
unfreeze(1);
return;
}
See that ; on the if line?
Don't feel bad though, little mistakes like this often are the hardest to find.
BTW, you don't need all those ifs, if they really say he same thing, just have and if for the right answer and put the response for wrong in an else like this:
if (&result == 6)
{
say_stop("'0Right!", &current_sprite);
} else
{
say_stop("'0Wrong!", &current_sprite);
}
I don't quite see why you're using that goto either, or was that an atempt to fix the proglem you were having?

if (&result == 3);
{
say_stop("'0WRONG!", &current_sprite);
unfreeze(1);
return;
}
See that ; on the if line?
Don't feel bad though, little mistakes like this often are the hardest to find.
BTW, you don't need all those ifs, if they really say he same thing, just have and if for the right answer and put the response for wrong in an else like this:
if (&result == 6)
{
say_stop("'0Right!", &current_sprite);
} else
{
say_stop("'0Wrong!", &current_sprite);
}
I don't quite see why you're using that goto either, or was that an atempt to fix the proglem you were having?