Jump to content

Comms skript :D


jamiedeeznoots

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

 

If I helped you at all please consider boosting my account with the follow button!
Minehut ♥ [VIP] 12/19/2020 - Present

I am either extremely active or not lol.

 

Link to comment
Share on other sites

  • 4 weeks later...
On 4/12/2023 at 1:49 PM, jamiedeeznoots said:

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

 

and you can just llooop threw all players and check if they have thre perm for the staff chat and use that to just code it inj ava

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