trying to make it so people can trade items (flytokens). we are trying to make a skript to take the two 15 minute tokens and then give a 30 minute token. having issues with all of it here is what we have
trigger:
if prismarine shard is not prismarine shard:
send "&cYou don't have anything to trade!" to {_player}
if prismarine shard is enchanted with mending:
remove 2 prismarine shard from {_player}'s inventory
execute console command "mi give CONSUMABLE FLYTOKEN30 %player% 1"```