Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skrypt: czat on/off
- # By: michur55
- command /chat [<text>]:
- aliases: czat
- trigger:
- if arg 1 is "off":
- if player has permission "chat.off" or "chat.admin":
- set {chat.status} to false
- broadcast "&aCzat zostal wylaczony przez %player%"
- if arg 1 is "on":
- if player has permission "chat.on" or "chat.admin":
- set {chat.status} to true
- broadcast "&aCzat zostal wlaczony przez %player%"
- on chat:
- if {chat.status} is false:
- cancel event
- send "&cCzat jest wylaczony!"
Advertisement
Add Comment
Please, Sign In to add comment