This would mean I could give someone points based on how many of a certain item they have. Which is perfect for selling items to shops (along with the clear command above). It doesn't have to be limited to items, it could be levels or anything really.
I have NO idea what the final part would look like to determine how many of an item the player had or the math part. I just took a wild guess.
That's it. I'm sure I made a mistake somewhere, I just wanted to give the basic idea and hope it gets added (or some variant) someday. I really want to make shops that you can sell stuff to.
A way to detect how many items you have and use math to determine the final value
This would mean I could give someone points based on how many of a certain item they have. Which is perfect for selling items to shops (along with the clear command above). It doesn't have to be limited to items, it could be levels or anything really.
I have NO idea what the final part would look like to determine how many of an item the player had or the math part. I just took a wild guess.
That's it. I'm sure I made a mistake somewhere, I just wanted to give the basic idea and hope it gets added (or some variant) someday. I really want to make shops that you can sell stuff to.