Whats Wrong With This...

Mu online season 21 - grand opening

toowicked

Dedicated Member
Dedicated Member
Apr 2, 2004
34
0
32
its my 2nd scripted NPC by myself im starting 2 get it
why duznt it go 2 the screen i want when i hav the magicscroll in my bag
it must be summin wrong with flags my 1st confusing attempt with them
BTW only dun for n00b quest

[@main]
#IF
check [998] 1
#SAY
You Have The Item From Him For Me?\ \
<Yes It's Right Here/@noob3>\
#IF
Checklevel 40
#SAY
Sorry, My Quests Are For People Who Are New\
To The Game\ \
<Sorry/@exit>\
#ELSESAY
Hello There <$USERNAME> I'm The Quest Man.\
I Give Quests To People New To Incarnation!\
Would You Like One?\ \
<Yeh Sure/@quest>\
<No Thanks/@exit>\

[@quest]
#SAY
Please Pick A Quest...\ \
<Noob Quest/@noob1>\
<Embusion Quest/@weapon1>\
<Gold Quest/@gold1>\
<RedMoon Quest/@redmoon1>\ \
<Exit/@exit>\

[@noob1]
#IF
check [997] 0
#SAY
I'll Give You Some Gold... If You Can Do This\
Quest For Me. I Need You To Visit The Butcher\
In Bichon Wall And Deliver An Item Of Mine\ \
<Next/@noob2>\
<Exit/@exit>\
#ELSESAY
You Have Already Done This Quest, Please Leave!\ \
<Exit/@exit>\

[@noob2]
#ACT
GIVE SpecialDrug 1
#SAY
Take This Drug To The Butcher In Bichon Wall\
You Must Tell Him I Sent You! Return To Me When\
You Are Done, I May Have Something For You\ \
<Consider It Done/@exit>\
#ACT
SET [998] 1

[@noob3]
#IF
checkitem MagicScroll
#ACT
SET [997] 1
take MagicScroll
give gold 100000
#SAY
Well Done My Friend, You Have Saved Me A Great Trek\
I Don't Like Travelling To Be Honest, Please Take\
This As A Reward\ \
 

toowicked

Dedicated Member
Dedicated Member
Apr 2, 2004
34
0
32
ne1 at all? my m8 on msn is busy SQL mir or summin lol i really wanna carry on with my server
 

sparkeh

Dedicated Member
Dedicated Member
Apr 23, 2004
149
0
42
Not tested, just ironed out best I could be bothered doing, if it still doesnt work tough lol, having enough trouble with my own maps atm to worry about npcs ><
gl anyway lol

edit: omg =/ lol i copy and pasted the wrong thing and just lost the version of it i wrote lol -_-

ummmm ok basically lol, make sure your flag is set, i noticed in noob2 it has #ACT then #SAY then another #ACT, not sure if this works, no point in it anyway, just put the setflag before the #SAY
if in doubt, manually set the flag to 1 and see if it works

also, id split this into 2 seperate functions

[@main]
#IF
check [998] 1
#SAY
You Have The Item From Him For Me?\ \
<Yes It's Right Here/@noob3>\
#IF
Checklevel 40
#SAY
Sorry, My Quests Are For People Who Are New\
To The Game\ \
<Sorry/@exit>\
#ELSESAY
Hello There <$USERNAME> I'm The Quest Man.\
I Give Quests To People New To Incarnation!\
Would You Like One?\ \
<Yeh Sure/@quest>\
<No Thanks/@exit>\


maybe would be better like this

[@main]
#IF
check [998] 1
#SAY
You Have The Item From Him For Me?\ \
<Yes It's Right Here/@noob3>\
#ELSEACT
goto @checklvl

[@checklvl]
#IF
Checklevel 40
#SAY
Sorry, My Quests Are For People Who Are New\
To The Game\ \
<Sorry/@exit>\
#ELSESAY
Hello There <$USERNAME> I'm The Quest Man.\
I Give Quests To People New To Incarnation!\
Would You Like One?\ \
<Yeh Sure/@quest>\
<No Thanks/@exit>\
 
Last edited: