Thats not formatted according to correct coding standards :/
NPC Code:
if (playerchats){
if (startswith(....
Also with that trading system you could say a minus value, which would give the player money.
i.e. trade -10 --- > current_tokens - -10 = +10
