Solved How to make a command without a permission message?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

JeffreyRC

New Member
Jun 12, 2023
6
0
1
How do I make a command without a permission message like whenever you do a command u don't have a permission to, I don't want it to send a message to you.
 
Sure, here's a command that makes you when you run a command, it will send to people with a specific permission:


Code:
command /test:
    trigger:
        loop all players:
            if loop-player has permission "test.jeff":
                send "%player% ran this command" to loop-player
 
First of all, everyone who has the permission will see the message of you doing the command to fix this you don't loop the players. This is the code I did:
Code:
command /test:
    trigger:
        if player has permission "test.jeff":
            send "%player% ran this command" to player
Thank you for the help!
 
Technically, That's if the person has a permission, so they technically can get "%player% ran this command"
But, no problem! Please mark this as solved.