Jump to content

Free Skript | Staff-Chat | Click Here


REZLI

Recommended Posts

There is the skrpit

 

And you can change it every time you want!

 

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%"

Example:

spacer.png

image.png.6b2e4fcf2faf7cec163a87c8f3e118

image.png.093c42e94876598d399df3a1a2cc8b

Link to comment
Share on other sites

Moved to Skript Releases

Please post in the correct category next time when sharing a skript. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

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