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

NPC Trader Script

Ravauvial

Member
Joined
Mar 19, 2009
Messages
186
Reaction score
8
Location
Stanwood, Washington, USA
players want to trade things. I need a script that works like this.

Any distro 7.60 to 8.53

NPC: Trader
Player 1
Player 2

Player 1 wants to trade 10cc for dragon hammer to player 2

Player 1 says trade to NPC trader.
NPC trader says to player 1 what do you want to trade?
player 1 says 10cc
NPC looks if player 1 has 10cc "10cc=yes"
NPC asks player 2 what do you have to trade for 10cc to player 1
player 2 says dragon hammer
NPC looks at player 2 for dragon hammer "dragon hammer=yes"
NPC says place items to trade in front of you.
checks to see if items are on tile "items=yes"
NPC swaps items and says trade complete, please pick up your new items.

The NPC part I can do but the script I need your help.
Can anyone help?
 
Back
Top