• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua NPC no Say does not do anythingHelp Please

samuel157

Intermediate OT User
Joined
Mar 19, 2010
Messages
616
Solutions
4
Reaction score
122
Location
São Paulo, Brazil
GitHub
Samuel10M
LUA:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="New Runes" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">
    <health now="100" max="100"/>
    <look type="128" head="94" body="94" legs="94" feet="0" addons="3"/>
</npc>

    <parameters>
        <parameter key="module_shop" value="1"/>
        <parameter key="message_greet" value="Ola |PLAYERNAME|. Eu vendo ferramentas para itens. Cada por 1kk digite {trade}."/>
        <parameter key="shop_buyable" value="Super UH,2270,1000000;Super MR,2296,1000000;Skulls Potion,7443,1000000;Double Exp Potion,7440,1000000;Donate Mana,2264,1000000;Donate UH,2294,1000000;Super SD,2306,1000
000;Morte na Hora,2263,1000000"/>
    </parameters>
</npc>
Screenshot_2.png
Screenshot_1.png
 
Last edited:
Solution
X
Probably need to change this
XML:
script="data/npc/scripts/default.lua"
for this
XML:
script="default.lua"
Back
Top