this is just using an NPC the player has as well as the trading scripts ......
on the tradig NPC have it set the variable 'rupeeaddamt' to the number the player bought the item for aso have a variable for when the trade is done ... .... Then on the Players NPC have this ...
NPC Code:
NPC Code:
if (tradedone=1) {
playerrupees+=rupeeaddamt;
}