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?
AAhhhhh dangnn. Just some little error like it, oh well....
One more thing, the else proc didn't work...somehow.
And yes, the goto was a "try" to fix the problem, couldn't find it out.
Thanks a lot

: 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?
AAhhhhh dangnn. Just some little error like it, oh well....
One more thing, the else proc didn't work...somehow.
And yes, the goto was a "try" to fix the problem, couldn't find it out.
Thanks a lot
