Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- player has permission "chat.always":
- stop
- else:
- if {chat} is false:
- cancel event
- send "&c*** &eChat jest wylaczony &c***"
- command /chat [<text>]:
- trigger:
- arg is not set:
- send "&8-=-=-=-=-=-=-= &6CHAT &8=-=-=-=-=-=-=-"
- send "&6/chat on &8- &7wlacz chat"
- send "&6/chat off &8- &7wylacz chat"
- send "&6/chat clear &8- &7wyczysc chat"
- else:
- arg is "on" or "off" or "clear":
- player has permission "chat.command":
- arg is "on":
- if {chat} is true:
- send "&4Chat jest juz wlaczony."
- else:
- set {chat} to true
- loop 100 times:
- broadcast ""
- broadcast "&7Chat zostal &6wlaczony &7przez &6%player%"
- arg is "off":
- if {chat} is false:
- send "&4Chat jest juz wylaczony."
- else:
- set {chat} to false
- loop 100 times:
- broadcast ""
- broadcast "&7Chat zostal &6wylaczony &7przez &6%player%"
- arg is "clear":
- loop 100 times:
- broadcast ""
- broadcast "&7Chat zostal &6wyczyszczony &7przez &6%player%"
- else:
- send "&cNie masz uprawnien do tej komendy"
Advertisement
Add Comment
Please, Sign In to add comment