Little Help Please

Join Discord
Status
Not open for further replies.

Lone

LOMCN Veteran
Veteran
Mar 15, 2007
278
12
64
I am trying to create a Quest Progress Checker Template script so it can be used by just about anyone that wants to try and write a script. (@ amatuer, experienced, pro ability level.)

i wrote this one but for some reason it doesnt seem to work, if you can spot whats wrong with it please let me know so i can finish it off and pass it on to people that are wanting to write quests for the servers they are playing.

any help/pointers would be great.

thanks

Lone


Code:
[@main]
#SAY
Welcome to the Quest Progress Checker.\
<check quest progress/@checkprogress>\
<Close/@exit>

[@CheckProgress]
#IF
Check [999] 1
#ACT
goto @finishedquest
#ELSEACT
goto @progresscheck2

[@CheckProgress2]
#IF
Check [998] 1
#ACT
goto @finishStage9
#ELSEACT
goto @progresscheck3

[@CheckProgress3]
#IF
Check [997] 1
#ACT
goto @finishStage8
#ELSEACT
goto @progresscheck4

[@CheckProgress4]
#IF
Check [996] 1
#ACT
goto @finishStage7
#ELSEACT
goto @progresscheck5

[@CheckProgress5]
#IF
Check [995] 1
#ACT
goto @finishStage6
#ELSEACT
goto @progresscheck6

[@CheckProgress6]
#IF
Check [994] 1
#ACT
goto @finishStage5
#ELSEACT
goto @progresscheck7

[@CheckProgress7]
#IF
Check [993] 1
#ACT
goto @FinishStage4
#ELSEACT
goto @progresscheck8

[@CheckProgress8]
#IF
Check [992] 1
#ACT
goto @FinishStage3
#ELSEACT
goto @progresscheck9

[@CheckProgress9]
#IF
Check [991] 1
#ACT
goto @FinishStage2
#ELSEACT
goto @progresscheck10

[@CheckProgress10]
#IF
Check [990] 1
#ACT
goto @FinishStage1




[@finishedQuest]
#Say
You've finished this quest Please check\
the npc to see what other quests are available\
<close/@exit>

[@finishstage9]
#Say
You need to finish stage 9 to proceed.\
<Set Stage 9 Flag/SetStage9Flag>\
<close/@exit>

[@setStage9Flag]
#Act
Set [999] 1
#SAY
Stage 9 Complete\
<Close/@exit>


[@finishstage8]
#Say
You need to finish stage 8 to proceed.\
<Set Stage 8 Flag/SetStage8Flag>\
<close/@exit>

[@setStage8Flag]
#Act
Set [998] 1
#SAY
Stage 8 Complete\
<Close/@exit>


[@finishstage7]
#Say
You need to finish stage 7 to proceed.\
<Set Stage 7 Flag/SetStage7Flag>\
<close/@exit>

[@setStage7Flag]
#Act
Set [997] 1
#SAY
Stage 7 Complete\
<Close/@exit>

[@finishstage6]
#Say
You need to finish stage 6 to proceed.\
<Set Stage 6 Flag/SetStage6Flag>\
<close/@exit>

[@setStage6Flag]
#Act
Set [996] 1
#SAY
Stage 6 Complete\
<Close/@exit>

[@finishstage5]
#Say
You need to finish stage 5 to proceed.\
<Set Stage 5 Flag/SetStage5Flag>\
<close/@exit>

[@setStage5Flag]
#Act
Set [995] 1
#SAY
Stage 5 Complete\
<Close/@exit>

[@finishstage4]
#Say
You need to finish stage 4 to proceed.\
<Set Stage 4 Flag/SetStage4Flag>\
<close/@exit>

[@setStage4Flag]
#Act
Set [994] 1
#SAY
Stage 4 Complete\
<Close/@exit>

[@finishstage3]
#Say
You need to finish stage 3 to proceed.\
<Set Stage 3 Flag/SetStage3Flag>\
<close/@exit>

[@setStage3Flag]
#Act
Set [993] 1
#SAY
Stage 3 Complete\
<Close/@exit>

[@finishstage2]
#Say
You need to finish stage 2 to proceed.\
<Set Stage 2 Flag/SetStage2Flag>\
<close/@exit>

[@setStage2Flag]
#Act
Set [992] 1
#SAY
Stage 2 Complete\
<Close/@exit>
[@exit]
#act
break


[@finishstage1]
#Say
You need to finish stage 1 to proceed.\
<Set Stage 1 Flag/SetStage1Flag>\
<close/@exit>

[@setStage1Flag]
#Act
Set [991] 1
#SAY
Stage 1 Complete\
<Close/@exit>
[@exit]
#act
break
 

Lone

LOMCN Veteran
Veteran
Mar 15, 2007
278
12
64
omg im a total plum, why is it the instant you make a post you get the the moment of clearity and you solve the problem >.<

Sorry Mods/Admin could you remove this thread please when you get a moment.

haha double ****up missing @ and also i think im going dyslexic >.<

thanks
 
Last edited:
Upvote 0
Status
Not open for further replies.