Jump to content

can someone make a /rankup skript?


Clayton1

Recommended Posts

options:
    Rank: coal

command /freerank:
    trigger:
        if {freerank::%player's uuid%} is not set:
            set player's group to "{@Rank}"
            set {freerank::%player's uuid%} to true
            broadcast "&6%player% &8>> &eGot there free rank from /freerank!"

            stop
        if {freerank::%player's uuid%} is set:
            message "&cYou have received this package in the past."

command /freerankreset [<offlineplayer>]:
    permission: rankup.admin
    permission message: &cInssuficient permission!
    trigger:
        if arg-1 is set:
            if arg-1 is online:
                clear {freerank::%arg-1's uuid%}
            else:
                message "&6FREERANK &8>>&e '%arg-1%' is not online!"
        else:
            message "&6FREERANK &8>>&e    Please state a player!"

Edited by Thedukc
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...