Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /WyczyscChat [<text>]:
- permission: clearchat
- trigger:
- if argument is "tajne" or "t":
- loop 200 times:
- send "" to all players
- else:
- loop 200 times:
- send "" to all players
- send "&b&lKacperny's chat|&f Chat został wyczyszczony przez &6%player%" to all players
- command /chatoff:
- permission: chatoff
- aliases: /coff
- trigger:
- set {chat} to 0
- send "&b&lKacperny's chat|&f Chat został wyłączony przez &6%player%" to all players
- command /chaton:
- permission: chaton
- aliases: /con
- trigger:
- set {chat} to 1
- send "&b&lKacperny's chat|&f Chat został włączony przez &6%player%" to all players
- on chat:
- if {chat} is 0:
- player has permission "chatpisanie":
- stop
- else:
- cancel event
- send "&cChat jest wyłączony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement