Solved May I ask how to execute the command to drop MMOITEMS items in Skript?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

BreadChum

Member
Mar 4, 2024
1
1
3
Code:
on break of any leaves:
    if gamemode of player is survival:
        if player is holding a flint:
            cancel event
            set event-block to air
            execute console command "/mi drop MATERIAL plant_fiber world [x] [y] [z]"
How should I fill in the coordinate position of the block?

3/5/2024
I found the solution myself.

Code:
set {location} to location of targeted block
set {x} to {location}'s x-coord
set {y} to {location}'s y-coord
set {z} to {location}'s z-coord
 
Last edited:
  • Like
Reactions: imStelios
hey, i saw you solved this but if u need any help with mmoitems they have their own discord and help page make sure to check it out