Jump to content

Simple Warn Skript


Recommended Posts

Hello,
I've just created a warn skript from scratch here it is for you all to use!

 

command /warn <offline player> <text>:
    permission: staff.warn
    permission message: &4No Permission
    trigger:
        if arg-1 is set:
            if arg-2 is set:
                send "&4&lWARN:" to all players
                send "&c%arg-1% has been warned for %arg-2%" to all players
            if arg-2 is not set:
                send "&4Please add a reason to the warn!" to player
        if arg-1 is not set:
            send "&4Pick a player you would wish to warn!"
        if player has permission "staff.warn.view":
        send "&4&lWARN INFO: &c%player% warned %arg-1%"

 

feel free to make changes in your server

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