1. 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 comminuty!

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

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Mine reset lite skript

Discussion in 'Requests' started by FrostPVP™️, Mar 2, 2021.

  1. FrostPVP™️

    FrostPVP™️ Active Member

    Joined:
    Feb 12, 2021
    Messages:
    63
    Likes Received:
    3
    I need a skript were /mrl erase (mine) is /mrl delete (mine)
    or both work as deleting a mine
    Thank You <3
     
  2. Best Answer:
    Post #2 by Sonafi, Mar 3, 2021
  3. Sonafi

    Sonafi Member

    Joined:
    Feb 26, 2021
    Messages:
    10
    Likes Received:
    0
    Code (Text):
    1. command /mrlerase [<text>]:
    2.   trigger:
    3.     if arg-1 is "Minename1":
    4.       set blocks within {flocmine1} and {slocmine1} to air
    5.       send "&a%arg-1% deleted successfully!" to player
    6.     if arg-1 is "Minename2":
    7.       set blocks within {flocmine2} and {slocmine2} to air
    8.       send "&a%arg-1% &adeleted successfully!" to player
    9.  
    10. command /mrldelete [<text>]:
    11.   trigger:
    12.     if arg-1 is "Minename1":
    13.       set blocks within {flocmine1} and {slocmine1} to air
    14.       send "&a%arg-1% deleted successfully!" to player
    15.     if arg-1 is "Minename2":
    16.       set blocks within {flocmine2} and {slocmine2} to air
    17.       send "&a%arg-1% &adeleted successfully!" to player
    18.  
    19. #Stand on the locations and use !set {locname} to location so those variables work.
    20. #Don't forget to change variable names in the code if you name them differently.
    21. #You also need to check that "allow op players use effect commands" and "effect commands" are true in the skript config.
    22. #And you just do it so on and on..
    Aliases didn't work for some reason so I made 2 commands if you don't want to copy paste it over and over for both of them you can delete one of them.
    I also suggest you would use "Permission: mine.delete" so not everyone could use it.
     
    • Agree Agree x 1
  4. FrostPVP™️

    FrostPVP™️ Active Member

    Joined:
    Feb 12, 2021
    Messages:
    63
    Likes Received:
    3
    Tysm it's. Prefect! <3
     
    • Friendly Friendly x 1

Share This Page

Loading...