Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /chat [<text>]:
- trigger:
- if player has permission "chat.admin":
- if arg 1 is "on":
- if {chat.status} is false:
- set {chat.status} to true
- broadcast "&8» &9Czat zostal &awlaczony &9przez &c%player%"
- else:
- send "&cCzat jest juz wlaczony!"
- if arg 1 is "off":
- if {chat.status} is false:
- send "&cCzat jest juz wylaczony!"
- else:
- set {chat.status} to false
- broadcast "&8» &9Czat zostal &awylaczony &9przez &c%player%"
- if arg 1 is "clear":
- loop 100 times:
- broadcast ""
- broadcast "&9Czat zostal &awyczyszczony &9przez &c%player%"
- else:
- send "&cPoprawne uzycie to: &6/chat <on/off/clear>"
- else:
- send "&4Nie masz uprawnien!"
Advertisement
Add Comment
Please, Sign In to add comment