Jump to content

Warn skript (needs improvement)


Wimfish

Recommended Posts

command /warn [<player>] [<text>]:
    permission: warn.use
    permission message: &8&l[&c&l!&8&l] &3&lNo permission
    trigger:
        if arg 1 is set:
            send "&c&lYou have been warned by %player% for %arg 2%" to arg 1
            send "&c&lYou warned %arg 1% for %arg 2%"
            add 1 to {warns.::%uuid of arg 1%}

Link to comment
Share on other sites

Here are some things you can add 🙂

1) A way to view the warns of player
2) A way to "unwarn" a player

 

like.gif.653e1b24da93a6ca10eaf5b04e7f0242.gif

Likes are appreciated ❤️

 

Username: SuperOrca

Discord: Link to Profile

Rank: [VIP]

Joined Minehut: August 10, 2017

Joined Forums: June 10, 2019

 

Experienced in Python, Java (mainly spigot), Javascript (node.js, basics of react.js), and Web Development. DM on discord me if you want a custom discord bot for your server (i'm bored).

Link to comment
Share on other sites

 

On 5/13/2021 at 3:32 PM, Wimfish said:

            add 1 to {warns.::%uuid of arg 1%}

That will not work!

Examples could be!

# add 1 to {warnsamout.%uuid of %arg-1%}

# Because :: Would make it send "1,1,1,1"
# Instead of 4

# Also make it log it like

# Add "%nl% &cWarn - for %arg-1%" to {warns::%player's uuid%}

 

Invislol 

• 4-5 years of skript experience
• 6 Months of active java experience
• 2 Years of javascript and python experience


unknown.png
[PATRON] RANK

Helpful Stuff:
Appeals and Reports  - Here | Minehut  Global And forums rules - Here

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