• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

My old NPC is giving 225 items

Bill3000

New Member
Joined
Jul 26, 2010
Messages
106
Reaction score
1
I made a old-style NPC, based on Open Tibia.
The NPC should give me 10 crystal coins each time I say "gold" or "money", but when I say this, the NPC give me 225 crystal coins.

How can i solve it? Or can somebody convert it to Jiddo System? Thanks


Lua:
<?xml version="1.0"?>
<npc name="Testserver Assistant" floorchange="0" walkinterval="1000">
  <health now="150" max="150"/>
  <look type="138" head="115" body="128" legs="85" feet="114"/>

  <interaction range="2" idletimeout="30">

    <interact keywords="hi" focus="1">
      <keywords>hello</keywords>
      <response text="Hello |NAME|."/>
    </interact>
   
    <interact keywords="bye" focus="0">
      <keywords>farewell</keywords>
      <response text="Goodbye."/>
    </interact>

    <interact event="onBusy">
      <response text="Just a minute, |NAME|.">
        <action name="addqueue" value="|PLAYER|"/>
      </response>
    </interact>

    <interact event="onPlayerLeave" focus="0">
      <response text="GoodBye so."/>
    </interact>

    <interact keywords="money">
	<keywords>gold</keywords>
      <response text="Here you are.">
            <action name="giveitem" value="2160"/>
		<action name="amount" value="10" />
          </response>
    </interact>

    </interaction>
</npc>
 
Back
Top