how do you check is specific item exists in list
I am using a list item for my inventory and in this case I want to check if for example the player already has "sword" available in the list.
Is it possible to scan the LIST item for a specific item and if it exists, not to add any more of it's type?
Or if it exists, use it as a condition to have it appear in the inventory.
Thanks in advance.
Sorry if its a stupid question XD
If its the "find string" command, what should I put in the <flag> value?
I wonder what the flag determines?