Jump to content

simple staff chat skript


itsKimo

Recommended Posts

command sc [<text>]:
	aliases: /staffchat
	permission: op
	trigger:
		arg-1 is not set:
			{sc.%player%} is set:
				delete {sc.%player%}
				send "&cStaff Chat Disabled!"
			else:
				set {sc.%player%} to true
				send "&aStaff Chat Enabled!"
		else:
			send "&bSC - %{suffix.%player's uuid%}% %player%&f: %colored arg-1%" to all ops
chat:
	{sc.%player%} is set:
		cancel event
		send "&bSC - %{suffix.%player's uuid%}% %player%&f: %colored message%" to all ops

with this skript, basically if you type /sc, itll toggle your staff chat on and off and if u type /sc with a message after it, it will send a message with staff chat to all other operators, if you dont want it with ops and want it with a permission do

send "Message Here" to all players where [input has permission "permission here"]

 

Link to comment
Share on other sites

  • 2 weeks later...

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