Quiz School Scene Points Help 2022

Hey guys! So I wanna do a quiz for my reader and I want a choice for that plus adding points and using if they are wrong, they can try again… How Can I do that?

1 Like

Here’s a simple template/example! The main point is labels.

label instructions

@YOU =0
TEACHER (animation)
Today we’re going to do a mini quiz.
You need to answer (5) questions. If you get more than 3 correct, you get a candy!
#More instructions here

*[OPTIONAL: *
NARRATOR
Do you need a repeat of instructions?
*choice *
“Yes”{

goto instructions
}“No”{

}]

label questionone
Q1: What’s 1+1?

choice
"2"{
TEACHER (animation)
Correct.

@YOU +1
}“0”{
TEACHER (animation)
Wrong. Try again!
goto questionone
}“3”{
TEACHER (animation)
Wrong. Try again!
goto questionone
}

#insert other questions here, using the same structure.

#QUIZ ENDED#
TEACHER (think_rubchin)
Now, let’s calculate the results…

if (@YOU >3){

readerMessage You got a candy!! Good job!

TEACHER (animation)
Good job! Here’s your candy.
}else{

readerMessage You didn’t pass the quiz, no candy for you.
TEACHER (animation)
Go revise your math right now!! You didn’t pass the quiz.
}

And you can tweak it to your own quiz. Hopefully that helps!

1 Like

Thank youuuuuuu :slight_smile:

Hey I just realised this might not work well with the points because either way the reader will get the candy because they will eventually get the correct answer. So if you need, here’s a better version that should work properly. This way even if they manage to get the correct answer after 1 attempt they won’t get a point.

Summary

@YOU =0
TEACHER (animation)
Today we’re going to do a mini quiz.
You need to answer (5) questions. If you get more than 3 correct, you get a candy!
#More instructions here

TEACHER (animation)
Q1: What’s 1+1?

choice
“2”{
TEACHER (animation)
Correct.

@YOU +1
}“0”{
TEACHER (animation)
Wrong.
goto qn1_tryagain
}“3”{
TEACHER (animation)
Wrong.
label qn1_tryagain
TEACHER (animation)
Q1: What’s 1 + 1?
choice
“2”{
TEACHER (animation)
Correct.
}“0”{
TEACHER (animation)
Wrong. Try again.
goto qn1_tryagain
}“3”{
TEACHER (animation)
Wrong. Try again.
goto qn1_tryagain
}

#insert other questions here, using the same structure.

#QUIZ ENDED#
TEACHER (think_rubchin)
Now, let’s calculate the results…

if (@YOU >3){

readerMessage You got a candy!! Good job!

TEACHER (animation)
Good job! Here’s your candy.
}else{

readerMessage You didn’t pass the quiz, no candy for you.
TEACHER (animation)
Go revise your math right now!! You didn’t pass the quiz.
}

Or you could do it this way, to retake the entire quiz.

Summary

label quizstart
@YOU =0
TEACHER (animation)
Today we’re going to do a mini quiz.
You need to answer (5) questions. If you get more than 3 correct, you get a candy!
#More instructions here

TEACHER (animation)
Q1: What’s 1+1?

choice
“2”{
TEACHER (animation)
Correct.

@YOU +1
}“0”{
TEACHER (animation)
Wrong.
}“3”{
TEACHER (animation)
Wrong.
}

#insert other questions here, using the same structure.

#QUIZ ENDED#
TEACHER (think_rubchin)
Now, let’s calculate the results…

if (@YOU >3){

readerMessage You got a candy!! Good job!

TEACHER (animation)
Good job! Here’s your candy.
#story blah blah blah
}else{

readerMessage You didn’t pass the quiz, no candy for you.
TEACHER (animation)
Take the quiz again!

goto quizstart
}

1 Like

Okay thanks

1 Like

Can you pm me this script?

I tried it and I got all the questions right and I had to retake the quiz anyways

It didn’t work :frowning:
I got them all right and I still had to retake

Ok I will pm you later!

Can you send me your entirre script with all the questions in pm please?