Jump to content

Staff Chat | Communicate with your staff!


Recommended Posts

Staff Chat (Skript)

Using this script,

You are able to communicate with

your staff without the normal players

knowing. It can be toggled by

Simply typing /sc or /staffchat

 The permission to access

and see the staff chat is simply just

"staff". The commands for it is

either /staffchat or /sc. This script

also has a bonus feature.

By adding @ at the start of you message,

The message will be sent to staff chat instead.

Pictures

image.png.c5878bb9d542770fbc1482473258415c.png

image.png.6b2e4fcf2faf7cec163a87c8f3e11809.png

image.png.093c42e94876598d399df3a1a2cc8bec.png

 


Script (32 lines)

options:
	server: &3[Server]&7
	no-perm: &cYou lack of permission.
	usage: &3&lUSAGE &8|

command /sc [<text>]:
	aliases:staffchat
	permission: staff
	permission message: "{@no-perm}"
	trigger:
		if arg-1 is set:
			send "&3&L(STAFF-CHAT) &f%player's display name% &8| &f%arg-1%" to all players where [input has permission "staff"]
		else:
			if {staff.chat::%player's uuid%} is not set:
				set {staff.chat::%player's uuid%} to true
				send "&3&L(STAFF-CHAT) &7Staff chat &aenabled&7."
			else:
				delete {staff.chat::%player's uuid%}
				send "&3&L(STAFF-CHAT) &7Staff chat &cdisabled&7."

on chat:
	if {staff.chat::%player's uuid%} is set:
		cancel event
		send "&3&L(STAFF-CHAT) &f%player's display name% &8| &f%message%" to all players where [input has permission "staff"]

on chat:
	set {_m} to uncolored message
	set {_mes::*} to {_m} split at ""
	if {_mes::1} is "@":
		cancel event
		replace all "@" with "" in message
		execute player command "/sc %message%"

 

  • Like 2
  • Thanks 1
  • Been "Skripting" for half a year now
  • Whale type 
  • Doesn't like Idle Servers (But made one)
  • Doesn't like Mining-PvP servers (But made one)
  • Likes MrScopes lol

 

I make original memes about minehut too.

Capture.png.5a3e6c2c283f3e0ee17860d8704f25f6.png

 

  • Discord Swayl#4299
  • MC IGN - Swayl
Link to post
Share on other sites
  • 4 months 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...