heyo
I'm trying to make a clearchat skript, but for example, if staff clear the chat they can't see who broke the rules.
So they cant mute him.
I want staff with the permission "clearchat.use" to be able to see the chat even after it's been cleared.
Here's what I'm working with:
Tuske, Skript, wolvsk
Here's the code:
I'm trying to make a clearchat skript, but for example, if staff clear the chat they can't see who broke the rules.
So they cant mute him.
I want staff with the permission "clearchat.use" to be able to see the chat even after it's been cleared.
Here's what I'm working with:
Tuske, Skript, wolvsk
Here's the code:
Code:
command /clearchat:
permission: clearchat.use
permission message: &ci cant type a perm mesage im tgoo lazy just know u have no perms for dat
trigger:
loop all players:
if loop-player doesn't have the permission "clearchat.use":
loop 1000 times:
broadcast " "
broadcast "&e&lThe chat has been cleared."
else if:
stop trigger