npc help

Desolation Mir2 (Med Rate Server)

Snowman

Golden Oldie
Golden Oldie
May 30, 2005
729
3
155
basically i need someone to check this NPC for me and tell me if it will work or not, and where ive gone wrong..

[@main]
#SAY
Hello <$USERNAME>\
I need you to bring me 3 WoomaHorns, 3 Hearts and 3 Claws\
Once you have these items i can teleport you to a new land\

#IF
checkitem WoomaHorn 3
checkitem WoomaClaw 3
checkitem WoomaHeart 3

#ELSEACT
take WoomaHorn 3
take WoomaClaw 3
take WoomaHeart 3

MAPMOVE <INSERT MAP NUMBER>

#ELSESAY
Come back when you have the items i need\

<Exit/@exit>

as you might have guessed i want the npc to check for 3 wt horns/hearts and claws then take them off the person and teleport them to a new map at random coordinates

thanks in advance
 
Last edited:

Chriz

Captain Lurker
VIP
Mar 24, 2003
1,199
1
340
315
LOMCN
dunno if that would work, but if it was me i'd arrange it like this: :p

[@main]
#IF
checkitem WoomaHorn 3
checkitem WoomaClaw 3
checkitem WoomaHeart 3

#ACT
take WoomaHorn 3
take WoomaClaw 3
take WoomaHeart 3
MAPMOVE <INSERT MAP NUMBER>
break

#ELSESAY
Hello <$USERNAME>\
I need you to bring me 3 WoomaHorns, 3 Hearts and 3 Claws\
Once you have these items i can teleport you to a new land\
Come back when you have the items i need\
<Exit/@exit>\
 
Upvote 0

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
[@main]
#SAY
Hello <$USERNAME>\
I need you to bring me 3 WoomaHorns, 3 Hearts and 3 Claws\
Once you have these items i can teleport you to a new land\
<yes i have the items/@items>\
<no i dont have them/@exit>\

[@items]
#IF
checkitem WoomaHorn 3
checkitem WoomaClaw 3
checkitem WoomaHeart 3
#Act
take WoomaHorn 3
take WoomaClaw 3
take WoomaHeart 3
MAPMOVE <INSERT MAP NUMBER>
#ELSESAY
Come back when you have the items i need\
<Exit/@exit>\
 
Upvote 0

Snowman

Golden Oldie
Golden Oldie
May 30, 2005
729
3
155
[@main]
#SAY
Hello <$USERNAME>\
I need you to bring me 3 WoomaHorns, 3 Hearts and 3 Claws\
Once you have these items i can teleport you to a new land\
<yes i have the items/@items>\
<no i dont have them/@exit>\

[@items]
#IF
checkitem WoomaHorn 3
checkitem WoomaClaw 3
checkitem WoomaHeart 3
#Act
take WoomaHorn 3
take WoomaClaw 3
take WoomaHeart 3
MAPMOVE <INSERT MAP NUMBER>
#ELSESAY
Come back when you have the items i need\
<Exit/@exit>\

done it b4 ya but thanks neway :)
 
Upvote 0