#Compressor
1 messages · Page 1 of 1 (latest)
like exactly the same, if you dont know exactly what the tags are just make a command that stores it in a variable and use that variable
he isn't wrong, coal named "Coal" vs it taking away 64 non-named coal
you should really put in some effort to actually learn about what youre trying to do instead of opening a bunch of help threads here and getting people to do it for you
do you see how the coal you're checking for is different from the coal that youre trying to remove
send your updated code please
can you send it in text form so i can mess around with it
items are weird sometimes
well i cant mess around with it if you dont send it 
yep
how many of them are in your offhand
its working fine for me
are you sure that is the exact name of your coal
send an ss please
thats just regular coal dude
you dont need the named
so you want only the ones without names to be used up?
then you need to remove the "named" from the coal
no because that will also use his named coal
i dont think its possible
you might need to add a name to the regular coal too
no that wont work
wait you mean in the name?
yeah that will work
if you name it "&fCoal" it will look the same
and you can use that in the code
did you make the coal ore drop coal that is actually named "&fCoal"
then you need to do that
you don't need to name the regular coal, just use plain coal and it'll exclude all the custom coal items you have
thats cool
if I understood your issue correctly that is
yeah do that
is that from an addon?
Nope, it's vanilla skript
Has %itemtype%
of worked
if player is holding heart of the sea named "&bCoal Compressor" in off hand:
if player has 64 of plain coal in their inventory:
remove 64 of plain coal from player
give coal block of unbreaking 1 with lore "&7(Contain 64 Coal)" with all flags hidden named "&c&lCompressed Coal" to player```
of plain
for some reason it doesnt work without the of
Skript being skript
skript has sadly always been skript and will always be skript