Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>]:
- trigger:
- if arg 1 is "on":
- set {chat} to true
- broadcast "&8> &7Chat zostal &awlaczony &7przez &6%player%"
- stop
- if arg 1 is "off":
- set {chat} to false
- broadcast "&8> &7Chat zostal &cwylaczony &7przez &6%player%"
- stop
- if arg 1 is "clear" or "czysc":
- loop 100 times:
- send ""
- broadcast "&8> &7Chat zostal wyczyszczony &7przez &6%player%"
- else:
- send "&8> &7/chat on"
- send "&8> &7/chat off"
- send "&8> &7/chat clear"
- on chat:
- if {chat} is false:
- if player not has permission "chat.bypass":
- send "&8> &7Chat jest aktualnie &cwylaczony&7!"
Advertisement
Add Comment
Please, Sign In to add comment