Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {chat} = on
- on chat:
- if {chat} is off:
- if player doesn't have permission "admin.chat":
- cancel event
- send "&7Czat w tej chwili jest wylaczony"
- else:
- set message to "%message%"
- command /chat <text>:
- trigger:
- if player has permission "admin.chat":
- if arg is "on":
- if {chat} is off:
- set {chat} to on
- broadcast "&aCzat zostal wlaczony"
- else:
- send "&7Chat jest wlaczony wpisz &a/chat off&7, aby go wylaczyc"
- if arg is "off":
- if {chat} is on:
- set {chat} to off
- broadcast "&cCzat zostal wylaczony"
- else:
- send "&7Chat jest wylaczony wpisz &a/chat on&7, aby go wlaczyc"
Advertisement
Add Comment
Please, Sign In to add comment