Code:
I don't have a specific code in mind at the moment, but how would I try to make it to where if you were to click the "sell" verb or the "sell" button from the npc to make it not spammable to make it go past the first time? For instance, if you were to click sell once, you can see the list of items you can sell. If you click sell again, it stacks the list to where you can sell more than once of the same item. How do I stop this?:
Copyright © 2024 BYOND Software.
All rights reserved.
In short, all I did was give the player a variable named purchasing and set it to 1 when they purchase. If it's set to one, don't let them buy anything from the NPC.