Jump to content

Simple STAFFCHAT skript


Recommended Posts

command /sc:
    trigger:
        player has permission "staffchat":
            {staffchat::%player's uuid%} = false:
                set {staffchat::%player's uuid%} to true
                send "&7Now talking in staff chat"
            else:
                set {staffchat::%player's uuid%} to false
                send "&7No longer talking in staff chat"
        else:
            send "&7No permissions"

chat:
    {staffchat::%player's uuid%} = true:
        cancel event
        send "&9&lSTAFFCHAT&b %player%:&7 %message%" to all players where [input has permission "staffchat"]

Link to post
Share on other sites
  • 2 months later...
1 hour ago, williampayr said:

but what is the permission node?

 

It literally says player has permission and you can see the permission node.

staffchat

I've been doing skript for 4 years and a half. I don't find my self a "better" skripter or do competitions against others.

I just wish people can just get along & just help each out and be kind to one and another.

 

I have been hosting ValkNet for 5 years and a half

ever since 2015 when i joined minehut around February or January.

 

I'm the owner of ValkyrieNetwork (known as ValkNet) | https://discord.gg/rPTYbQY

A great service that i provide for the minehut community!

 

Contact:

Discord: https://discord.gg/6rQu2Vn

Link to post
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...