The Dink Network

Reply to Re: Script help- riddles

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
October 29th 2002, 08:20 PM
wizardg.gif
Paul
Peasant He/Him United States
 
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?