jamiedeeznoots Posted April 12, 2023 Share Posted April 12, 2023 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 More sharing options...
JoshG Posted June 4, 2023 Share Posted June 4, 2023 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 More sharing options...
RealLava Posted June 26, 2023 Share Posted June 26, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now