Request: detailed script

Mu online season 21 - grand opening

forspinki

Legend
Legendary
Oct 23, 2006
3,431
115
190
Handan, China
rite im looking for a way so that when a player first creates there character and logs into game it will ask them 10 questions, if they get it right it should give them 1 level but if they get it wrong its to skip to the next question instead of freezing on the first question like u see on some servers.
e.g.

Q1:What colour is EvilMir
A1:Red
A2:Blue

if they select red it will give them 1 level if they select blue it skip to Q:2


if somebody could make something like this for me wud be great. just make some random questions and answers up and ill change them after


thanks in advance
 

JealY

LOMCN VIP
VIP
Nov 28, 2004
5,357
55
335
England
You know what, I love making npcs so i'll have a go at this for you mate!

I can't seem to get my server up though to test it for you, sorry!

Code:
[@main]
#IF
CHECK [66] 1
#ACT
gogo @notnew
#ELSESAY
Hey there, welcome to the server.\
blablabla questions gunna be asked now kk?\
make sure you are ready as you only get to do this once!\
<Ask away!/@q1>\
<No thanks!/@exit>\

--------------------------Q1---------------------

[@q1]
#ACT
set [66] 1
#SAY
Question 1\
\
<correct/@q1c>
<wrong/@q1w>

[@q1c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 1 correct!\
\
<Next question/@q2> please!\

[@q1w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q2> please\

--------------------------Q2---------------------

[@q2]
#SAY
Question 2\
\
<correct/@q2c>
<wrong/@q2w>

[@q2c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 2 correct!\
\
<Next question/@q3> please!\

[@q2w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q3> please\

--------------------------Q3---------------------

[@q3]
#SAY
Question 3\
\
<correct/@q3c>
<wrong/@q3w>

[@q3c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 3 correct!\
\
<Next question/@q4> please!\

[@q3w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q4> please\

--------------------------Q4---------------------

[@q4]
#SAY
Question 4\
\
<correct/@q4c>
<wrong/@q4w>

[@q4c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 4 correct!\
\
<Next question/@q5> please!\

[@q4w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q5> please\

--------------------------Q5---------------------

[@q5]
#SAY
Question 5\
\
<correct/@q5c>
<wrong/@q5w>

[@q5c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 5 correct!\
\
<Next question/@q6> please!\

[@q5w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q6> please\

--------------------------Q6---------------------

[@q6]
#SAY
Question 6\
\
<correct/@q6c>
<wrong/@q6w>

[@q6c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 6 correct!\
\
<Next question/@q7> please!\

[@q6w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q7> please\

--------------------------Q7---------------------

[@q7]
#SAY
Question 7\
\
<correct/@q7c>
<wrong/@q7w>

[@q7c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 7 correct!\
\
<Next question/@q8> please!\

[@q7w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q8> please\

--------------------------Q8---------------------

[@q8]
#SAY
Question 8\
\
<correct/@q8c>
<wrong/@q8w>

[@q8c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 8 correct!\
\
<Next question/@q9> please!\

[@q8w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q9> please\

--------------------------Q9---------------------

[@q9]
#SAY
Question 9\
\
<correct/@q9c>
<wrong/@q9w>

[@q9c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 9 correct!\
\
<Next question/@q10> please!\

[@q9w]
#SAY
Incorrect answer, sorry!\
\
<Next question/@q10> please\

--------------------------Q10---------------------

[@q10]
#SAY
Question 10\
\
<correct/@q10c>
<wrong/@q10w>

[@q10c]
#ACT
CHANGELEVEL + 1
#SAY
Congratulations you got question 10 correct!\
\
<Okay/@doneqs>\

[@q10w]
#SAY
Incorrect answer, sorry!\
\
<Okay/@doneqs>\

--------------------------Quiz done!---------------------

[@doneqs]
#SAY
You have finished the quiz, goodbye!\
\
<Thanks, bye/@exit>\

[@notnew]
#SAY
You have already done this quiz, be gone!\
<exit/@exit>\

Hope it works!

Basically you get the question, if you click the correct answer, it takes you to a correct page where you get +1 level and link to next question, if you get it wrong you get a sorry and link to next.

EDIT - made it once only, when the person clicks done, but
 
Last edited:
Upvote 0