StaffChat.sk

Created by XenSkript

Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.

========================
# Staff Chat Skript
# Created By XenForums
========================

command /sc [<text>]:
	permission: staff.chatmode
	permission message: &cYou do not have permission to use this command.
	trigger:
		if arg-1 is not set:
			if {staffchat.%player%} is not set:
				set {staffchat.%player%} to true
				send " &bStaff Chat &7: &aon"
			else:
				delete {staffchat.%player%}
				send " &bStaff Chat &7: &coff"
		if arg-1 is set:
			if {staffchat.%player%} is set:
				loop all players:
					if {staffchat.%loop-player%} is set:
						send "&7(&9Prac&7) &9%player% &7» &b%arg-1%" to loop-player
						
on chat:
	if {staffchat.%player%} is set:
		loop all players:
			if {staffchat.%loop-player%} is set:
				cancel event
				send "&7(&9Prac&7) &9%player% &7» &b%message%" to loop-player