#yo
1 messages · Page 1 of 1 (latest)
loop all players:
if loop-player's inventory contains 64 emerald:
remove 64 emerald from loop-player's inventory
add 1 emerald block named "&fCompressed Emerald" to loop-player's inventory```
not very efficient tho
on pickup as he said, but also I think I would check the amount of items and use modulo to calculate how many I can compress and do it all at once
What
math
I did that on my server for something similar
modulo would let you know the amount of stacks
it can work for stacks of any sizes
How do I do that
Basically you should learn basic skript syntax and then it'll be really easy
Tutorials
what tutorials bro who is willing to teach people how to make auto compressors
you use the basics and the docs to learn how to make it yourself 😄
Google “skript basics tutorial”
Sovdes github is good for the basics