Jump to content

Comms skript :D


Recommended Posts

command /comms <text>

aliases: /c

executable by: console, players

usage: “&c/comms <message>”

Description: “A staffchat”

permission: “comms.use”

permission message: “&cYou don’t have permission to do that!”

cooldown: 0.5 seconds

cooldown message: “&aPlease wait for %remaining time%!”

cooldown bypass: “comms.bypass”

cooldown storage: {cooldown::%player’s uuid%}

trigger:

if arg 1 is not set:

{@usage}

if arg-1 is set:

loop all players

if loop-player has permission “staffchat.see”

send “&7&lComms | “&7%player’s displayname%: %arg-1%” to loop-player

 

Link to comment
Share on other sites

  • 1 month later...

Hey hey! Thought I'd do ya a favor and reformat the skript.

command /comms <text>:
    aliases: /c
    executable by: console, players
    usage: "&c/comms <message>"
    description: "A staffchat"
    permission: comms.use
    permission message: "&cYou don't have permission to do that!"
    cooldown: 0.5 seconds
    cooldown message: "&aPlease wait for %remaining time%!"
    cooldown bypass: comms.bypass
    cooldown storage: {cooldown::%player's uuid%}
    trigger:
        if arg 1 is not set:
            send "{@usage}"
        if arg-1 is set:
            loop all players:
                if loop-player has permission "staffchat.see":
                    send "&7&lComms | &7%player's displayname%: %arg-1%" to loop-player

 

I do tech


Minehut [VIP] 12/19/2020 - Present

I am either extremely active.. or not!
image.png.6f56571591082864eb075de07a7a5e13.png

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