• 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!

npc that trades item for an item

Triggah

TrigCore
Joined
Aug 1, 2007
Messages
436
Reaction score
2
as the title says i need a script for an npc that trades item for item.

can anyone help?

or send me a sample npc that does this
 
Last edited:
PHP:
<?xml version="1.0"?>
    <npc name="addonitem buyer" script="data/npc/scripts/addonitem.lua" access="3" lookdir="2" walkinterval="2000">
    <mana now="800" max="800"/>
    <health now="200" max="200"/>
    <look type="133" head="121" body="49" legs="69" feet="26"/>
<parameters>
        <parameter key="module_shop" value="1" />
        <parameter key="message_greet" value="Hello |PLAYERNAME|. I buy addon items." />
        <parameter key="shop_sellable" value="sniper gloves,5875,200;lizard leather,5876,10;green dragon leather,5877,7;minotaur leather,5878,15;giant spider silk,5879,9;iron ore,5880,15;lizard scale,5881,20;red dragon leather,5882,11;ape fur,5883,16;spool of yarn,5886,6;piece of royal steel,5887,2000;piece of hell steel,5888,4500;piece of draconian steel,5889,8000;chicken feather,5890,12;enchanted chicken wing,5891,20;perfect behemoth fang,5893,15;behemoth fang,5893,15;bat wing,5894,20;fish fin,5895,200;bear paw,5896,21;wolf paw,5897,9;beholder eye,5898,25;turtle shell,5899,20;dwarven beard,5900,2000;honeycomb,5902,30;magic sulphur,5904,200;vampire dust,5905,150;demon dust,5906,400;dragon claw,5919,500;green dragon scale,5920,10;behemoth claw,5930,600;icicle,4848,750;red dragon scale,7314,25;white piece of cloth,5909,20;green piece of cloth,5910,20;red piece of cloth,5911,20;blue piece of cloth,5912,20;brown piece of cloth,5913,20;yellow piece of cloth,5914,20;red dragon leather,5948,15;demon horn,5954,20;tortoise egg,6125,30;hydra egg,4850,50;phoenix egg,2328,200;" />
</parameters>

</npc>

here you got a simple script only change (name,id,price)



Plz Rip++ ME
 
Last edited:
Back
Top