Advertisement
taoru_8673

mute&unmute

May 22nd, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. #-------------------------------------------------------------------------------------------------------------------#
  2. # MCID taoru_8673
  3. #-------------------------------------------------------------------------------------------------------------------#
  4. # 簡易MUTE&UNMUTE
  5. # /mute MCID
  6. # /unmute MCID
  7. #-------------------------------------------------------------------------------------------------------------------#
  8.  
  9.  
  10.  
  11. command /mute <player>:
  12. permission: skript.admin
  13. permission message: &4権限がないためこのコマンドは使用できません。
  14. trigger:
  15. set {mute.%arg-1%} to true
  16. send "&e%arg-1%&fを&aMUTE&fしました"
  17. send "&e/unmute MCID で解除できます!"
  18.  
  19. command /unmute <player>:
  20. permission: skript.admin
  21. permission message: &4権限がないためこのコマンドは使用できません。
  22. trigger:
  23. set {mute.%arg-1%} to false
  24. send "&e%arg-1%のMUTEを解除しました。"
  25.  
  26. on chat:
  27. {mute.%player%} is true
  28. cancel event
  29. send "&2MUTE&fされています"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement