NPC wont work properly

Mu online season 21 - grand opening

sparx14

Guest
hi , can someone take a look at this and help me get it working fully...

[@main]
#IF
check [003] 1
#ACT
goto @gotpot
break

#IF
check [004] 1
#ACT
goto @Cheeky
break

[@main_1]
Hello <$USERNAME>, This place is Packed,\
You know I caught the Great AquaTaurus\
Want to hear more?\
<yes/@more1>\
<no thanks/@exit>\\

[@more1]
Well you see <$USERNAME> my sister\
is after a potion, called the "Aqua Potion".\
It has the ability to summon an AquaTaurus.\
The one I gave her didn't carry one\
I don’t know quite how it works but...\
<go on/@more2>\\

[@more2]
Well she maybe able to give you\
an AquaTaurus to use as a pet.\
If you bring me that pot ill take \
you to her.\
<Sound’s good, I’ll try it/@Accept>\
<tell me the story again/@more1>\
<may be next time/@exit>\\

[@Accept]
#ACT
set [003] 1
#SAY
OK thank you so much\.
my sister will be very pleased \
<I'll be Back/@exit>\\


[@gotpot]
#IF
check [003] 1
checkitem AquaPotion
#SAY
You have it, ok my sister\
is waiting for you,\
Would you like to go?\
<yes/@tele>\
<I will come back later/@exit>\\
#ELSESAY
you have not got it yet\
<whoop's sorry/@exit>

[@tele]
#ACT
set [004] 1
mapmove BGHM
break

[@Cheeky]
<$USERNAME>, Welcome back my good friend\
Thankyou for the help you gave me, but I can't\
ask anymore of you goodbye .\
<bye/@exit>\\



the problem with it is that when i 1st click on the npc it straight away goes to "good you have it whould you like to go to my sister" so help please all lol


(all credit of this npc goes to AriaQ™)
 

Rachel

LOMCN Veteran
Veteran
Aug 14, 2003
308
0
93
i only looked thru it quickly

but i think you have to start wiuth ur @main_1

instead of ur @main, try switch them around
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
I think its because the npc doesnt go anywhere if your flags arent set at 1 so try....


[@main]
#IF
check [003] 1
#ACT
goto @gotpot
#ELSEACT
goto @main

[@main_1]
#IF
check [004] 1
#ACT
goto @Cheeky
#ELSESAY
Hello <$USERNAME>, This place is Packed,\
You know I caught the Great AquaTaurus\
Want to hear more?\
<yes/@more1>\
<no thanks/@exit>\\

[@more1]
Well you see <$USERNAME> my sister\
is after a potion, called the "Aqua Potion".\
It has the ability to summon an AquaTaurus.\
The one I gave her didn't carry one\
I don’t know quite how it works but...\
<go on/@more2>\\

[@more2]
Well she maybe able to give you\
an AquaTaurus to use as a pet.\
If you bring me that pot ill take \
you to her.\
<Sound’s good, I’ll try it/@Accept>\
<tell me the story again/@more1>\
<may be next time/@exit>\\

[@Accept]
#ACT
set [003] 1
#SAY
OK thank you so much\.
my sister will be very pleased \
<I'll be Back/@exit>\\


[@gotpot]
#IF
check [003] 1
checkitem AquaPotion
#SAY
You have it, ok my sister\
is waiting for you,\
Would you like to go?\
<yes/@tele>\
<I will come back later/@exit>\\
#ELSESAY
you have not got it yet\
<whoop's sorry/@exit>

[@tele]
#ACT
set [004] 1
mapmove BGHM
break

[@Cheeky]
<$USERNAME>, Welcome back my good friend\
Thankyou for the help you gave me, but I can't\
ask anymore of you goodbye .\
<bye/@exit>\\

I'm not 100% sure that will work but its worth a try.

/Miles
 

Blaminator

VIP
Golden Oldie
Loyal Member
Jul 11, 2003
2,731
0
173
London
Miles this :

Code:
[@main]
#IF
check [003] 1
#ACT
goto @gotpot
#ELSEACT
goto @main
just creats a constant loop, which does use u pa bit of RAM...
 

Gorgons

Dedicated Member
Dedicated Member
Apr 16, 2004
32
0
32
yeh lol it is most probably the
second #IF
you put which should be
#ELSEACT
as Blaminator kindly pointed out :) hope you get it to work :)
 

sparx14

Guest
ty 4 help guys but still no luck lol >.< and now the strangest thing is happening.....when i click the npc my server gives a sncronized bla bla bla u get it and my server shuts down lol 0.o
 

Miles

LOMCN VIP
VIP
Mar 27, 2003
1,195
0
213
Ah Blams right it should be

[@main]
#IF
check [003] 1
#ACT
goto @gotpot
#ELSEACT
goto @main_1

(In the top bit) and i think it should work o.O i dont think theres any thing else wrong unless the flags you've used have been used for a different quest?

/Miles
 

myname

Dedicated Member
Dedicated Member
Aug 11, 2003
157
0
92
its just the checkitem Aquapotion shud be checkitem Aquapotion 1

dno how late i am lol.