Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat <text>:
- permission: sk.chat
- trigger:
- if argument 2 is "off":
- set {chat.allowed} to false
- broadcast "<light red>Chat zostal wylaczony przez %player%"
- if argument 2 is "on":
- set {chat.allowed} to true
- broadcast "<light green>Chat zostal wlaczony przez %player%"
- on chat:
- if player has permission "sk.echat":
- stop
- else:
- if {chat.allowed} is false:
- cancel event
- send "<light red>Chat jest obecnie wylaczony!"
- stop
- if {chat.allowed} is true:
- stop
Advertisement
Add Comment
Please, Sign In to add comment