Jump to content

Warn Skript (Without advanced ban!)


Jixzy

Recommended Posts

So, this skript is a simple warn skript, if you don't want, or advanced ban is failing you
:


command /warn [<player>] [<text>]:
    permission: warn.use
    permission message: &cYou do not have the correct permission to execute this command!
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                broadcast ""
                broadcast "&b&lWarning"
                broadcast "&b%arg-1% &7has been warned by &b%player% &7for &b%arg-2%"
                broadcast ""
                add 1 to {_warning.%arg-1%}
                
command /unwarn [<player>]:
    permission: warn.use
    permission message: &cYou do not have the correct permission to execute this command!
    trigger:
        if arg-1 isn't set:
            send "&cUsage: /unwarn <player>"
        if arg-1 is set:
            broadcast ""
            broadcast "&b&lWarning"
            broadcast "&b%arg-1% &7has been un-warned by &b%player%&7!"
            broadcast ""
            remove 1 from {_warning.%arg-1%}
            

Link to comment
Share on other sites

  • 3 weeks later...

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...