#trying to make a trade shop

1 messages · Page 1 of 1 (latest)

grand tundra
#

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"```
shell depot
#

your using {_player} then suddenly change it to %player%?

warped gust
#

Bro

#

What is prismarine shard, skript has no idea what you mean

#

Use players tool

#

And get the item amount of it

#

If it’s 2 or sumn

#

Also you have to set {_player}

shell umbra
#

if prismarine shard is not prismarine shard: how is this ever supposed to pass????

shell umbra
#

check if the players tool is (or inventory contains) >2 prismarine shards, then take 2 and give the 30m one

warped gust