Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Join Msg #
- #on join:
- # set join message to "&8[&a&l+&8] %display name of player%"
- #on quit:
- # set quit message to "&8[&c&l-&8] %display name of player%"
- # Manager #
- variables:
- {chat} = on
- on chat:
- if {chat} is off:
- if player doesn't have permission "admin.chat":
- cancel event
- send "&8» &7Czat w tej chwili jest wylaczony"
- else:
- set message to "%message%"
- command /chat [<text>]:
- trigger:
- if player has permission "admin.chat":
- if arg is "on":
- if {chat} is off:
- set {chat} to on
- broadcast "&c* &7Czat zostal wlaczony"
- else:
- send "&7Chat jest wlaczony wpisz &a/chat off&7, aby go wylaczyc"
- if arg is "off":
- if {chat} is on:
- set {chat} to off
- broadcast "&c* &7Czat zostal wylaczony"
- else:
- send "&7Chat jest wylaczony wpisz &a/chat on&7, aby go wlaczyc"
- # Clear Chat #
- command /cc [<text>]:
- trigger:
- if player has permission "admin.chat":
- loop 100 times:
- broadcast ""
- broadcast " &c* &7Czat zostal wyczyszczony &c*"
- broadcast ""
- else:
- loop 100 times:
- send ""
- send "&8» &7Wyczysciles sobie czat !"
- send ""
Advertisement
Add Comment
Please, Sign In to add comment