Need a NPC :/

Mu online season 21 - grand opening

DeathsDoor

Golden Oldie
Golden Oldie
Aug 9, 2004
1,473
42
190
ok .. any 1 got a NPC that when u click on him he will take u to a room and spawn a Boss or something and that all that is a quest ??

or .... whats the command to make a Quest so people dont keep trying to go kill the monster
 

stan

Guest
[@main]
#IF
check [XXX] 1 <--- this is the same 3 number sas the flag.
#SAY
Youve done this quest sorry...\
#ELSESAY
Would you like to complete my task..?\\

<Yes/@task>\
<No/@exit>\

[@task]
#IF
checkitem xxx <----item name
#SAY
You have the item would you like to collect your prize..\\

<Collect my prize/@collect>\\
<Leave/@exit>\
#ELSESAY
If your ready i would like to tele you to the monster..\\

<Im ready/@tele>\\
<Leave/@exit\

[@tele]
#ACT
mapmove xxx <-- mapname
give townteleport 1

[@collect]
#ACT
take xxxx <----- items the quest requires.
give xxx<---- item you are giving them
SET[XXX] 1 <--- teh flag to only allow then to do it once
 
Last edited:

Liandrin2

Golden Oldie
Golden Oldie
Loyal Member
Jan 14, 2004
890
6
105
A flag is just a marker as to whether a character has done something. In this case if the flag is set then it means this character has already done the quest. Just make the xxx into a number (not one already used :teethg: )
 

Solitude

LOMCN VIP
VIP
Apr 22, 2003
326
0
133
South Wales
Use Namelists, much more accurate. Examples of namelists can be found in the NPC folder (just search folder for files containing 'namelist' )