Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /clearchat:
- aliases: /cc, /clearc, /chatc
- permission: creation.clearchat
- trigger:
- message "<gray>This command right now is disabled! Please help fix and post a reply with the clear chat command section fixed!"
- command /lockchat:
- aliases: /lc, /lockc, /chatl
- permission: chat.lock.activate
- trigger:
- set {locker} to "%player%"
- set {locked} to 1
- broadcast "<gray>Chat has been locked by <aqua>%player%"
- command /unlockchat:
- aliases: /ulc, /ulockc, /chatul
- permission: chat.lock.deactivate
- trigger:
- set {locked} to 0
- broadcast "<gray>Chat has been unlocked by <aqua>%player%"
- on chat:
- if player has permission "chat.lock.bypass":
- stop
- if {locked} is 1:
- cancel event
- message "<gray>Chat is currently locked by <aqua>%{locker}%"
- on load:
- broadcast "<red>---- <gold>Loaded Lock Chat And Clear chat! <red>----"
- broadcast "<gold>/lockchat - Lock the chat! Use permission chat.lock.bypass to bypass the lock!"
- broadcast "<gold>/unlockchat - Unlock the chat!"
- broadcast "<red>/clearchat - Broke please show how to fix on the minehut forums post!"
- broadcast "<green>-----------------------------"
- broadcast "<gray>Made by ReportCards!"
- on unload:
- broadcast "<gold>Thanks for using my skript - ReportCards!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement