Ezzam
New Member
- Joined
- Jan 16, 2008
- Messages
- 213
- Reaction score
- 2
As you can see I want that the first time you say hi to the NPC, he asks for the players name. I want to make that the player MUST say his name.
Code:
<interact keywords="hi" storageId="200001" storageValue="0" storageComp="less" focus="1">
<response text="Hi there, I havn't seen you in town before, may I ask for your name?">
[COLOR="Red"]<interact keywords="|NAME|">[/COLOR]
<response text="Well hello then |NAME|, and welcome to {Elburd}! If you'd like i can show you my {books}.">
<action name="storage" key="200001" value="1"/>
</response>
</interact>
</response>
</interact>
<interact keywords="hi" focus="1">
<response text="Hello |NAME|. If you need a {book} just ask"/>
</interact>