GoldenDoge237 Posted June 2, 2023 Share Posted June 2, 2023 Hey! I'm a new avid learner of the language Skript. I've been making a skymining server that really needs an autocompressing script that functions with telepathy. If anyone can help me out here, that'd be great! Link to comment Share on other sites More sharing options...
RatOnMars Posted June 3, 2023 Share Posted June 3, 2023 Ok so basically im thinking you can create a /compress command so here is what that would look like: command /compress: trigger: if player has 64 andesite: #change the andesite to whatever you want and the number remove 64 andesite from player # andesite and number has to be changed if you change the one above give player 1 andesite named "&8Super Andesite" # this can obviously be changed aswell hope im not too late! Link to comment Share on other sites More sharing options...
RatOnMars Posted June 3, 2023 Share Posted June 3, 2023 Then you can also use that code to create the auto compress. Link to comment Share on other sites More sharing options...
RatOnMars Posted June 3, 2023 Share Posted June 3, 2023 all together it would be like this Link to comment Share on other sites More sharing options...
RatOnMars Posted June 3, 2023 Share Posted June 3, 2023 on break: if event-block is andesite: cancel event set event-block to air give player 1 andesite if player has 64 andesite: execute player command "/compress" command /compress: trigger: if player has 64 andesite: #change the andesite to whatever you want and the number remove 64 andesite from player # andesite and number has to be changed if you change the one above give player 1 andesite named "&8Super Andesite" # this can obviously be changed aswell Link to comment Share on other sites More sharing options...
RatOnMars Posted June 3, 2023 Share Posted June 3, 2023 Hope this helped you out Link to comment Share on other sites More sharing options...
GoldenDoge237 Posted June 6, 2023 Author Share Posted June 6, 2023 Thanks so much! Link to comment Share on other sites More sharing options...
GoldenDoge237 Posted June 6, 2023 Author Share Posted June 6, 2023 What if I want the item that is converted from the 64 andesite to be enchanted? How is that going to be skripted? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now