bed_the_skripter

Mutechat [skript]

Jul 16th, 2022
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. options:
  2. p: &c[&6FS11&c]
  3. permission: skript.mutechat
  4. bypass: mutechat.bypass
  5.  
  6.  
  7. command /mutechat:
  8. permission: {@permission}
  9. permission message: Sorry, but you can't use this command!
  10. trigger:
  11. if {mutechat} is not set:
  12. set {mutechat} to true
  13. broadcast "{@p} &7Chat has been muted by &6%player%"
  14. stop trigger
  15. if {mutechat} is set:
  16. delete {mutechat}
  17. broadcast "{@p} &7Chat has been unmuted by &6%player%"
  18. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment