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

Lua [OTX 2.X] Player Store

elnelson

Lunaria World Dev
Joined
Jun 20, 2009
Messages
580
Solutions
2
Reaction score
58
Location
México
Well basically its a talkaction that creates a physical personal store below the player: a box that can not be moved and have items inside, those items are bought if any customer moves that item and the owner will receive the money to bank, onLook will show price, owner can close the shop to move the box to other site, all stores will be closed on SS

Example of usage:
!store add mace, 30, 1 -- this adds 1 mace for 30 gp
!store remove mace, 1 -- this remove 1 mace
!store on -- enables store (place a box with sellable items inside)
!store off -- closes store, enabling adding or removing items

im using OTX 2.X v7.72 which has this function: onMoveItem(moveItem, frompos, position, cid). Could someone help me to achieve this script?
 
Last edited:
Back
Top