Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {chat} = true
- options:
- tag: &8[&6C&aH&bA&aT&8]
- command /chat [<text>]:
- trigger:
- if player has permission "chat.info" or "chat.*":
- if argument 1 isn't set:
- send "&8>>&c/chat on"
- send "&8>>&c/chat off"
- send "&8>>&c/chat clear"
- stop
- if argument 1 is "off":
- set {chat} to false
- send "{@tag} &cWylaczyles chat!"
- broadcast "&cChat zostal wylaczony przez %player%"
- stop
- if argument 1 is "on":
- send "&cChat zostal wlaczony!"
- set {chat} to true
- stop
- else:
- send "{@tag} &cNie masz uprawnien!"
- on chat:
- if {chat} is false:
- send "{@tag} &aChat jest obecnie wylaczony!"
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment