#yo

1 messages · Page 1 of 1 (latest)

grand token
#

What do you have so far

#

We help you with your code, not do it for you

celest prairie
#
  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

grand token
#

Use on pick up

#

And just check if an auto var is set

#

And make a command to toggle

foggy rampart
cunning pewter
#

What

foggy rampart
#

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

cunning pewter
#

How do I do that

quartz vortex
#

Basically you should learn basic skript syntax and then it'll be really easy

cunning pewter
#

bro

#

how am i suposed to learn

grand token
#

Tutorials

cunning pewter
#

what tutorials bro who is willing to teach people how to make auto compressors

candid widget
#

you use the basics and the docs to learn how to make it yourself 😄

grand token
#

Sovdes github is good for the basics

cunning pewter
#

I learned

#

Stuff about skript

#

But I still don't get smt

#

But yeah

grand token
#

just do a command /autocompress that set {autocompress:%player's uuid%} to true or deletes it

#

and then check if that is true on pick up

#

if it is, compress it

cunning pewter
#

Yo

#

I made a better compresoor

#

But how do I make it so the compressed block they get is enchanted

#

thats what i need

#

i made it faster