Advertisement
okaz_

cmdlog

Dec 27th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. command /com [<boolean>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg 1 is not set:
  5. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  6. stop
  7. if arg 1 is true:
  8. set {cmd.%player%} to true
  9. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  10. if arg 1 is false:
  11. set {cmd.%player%} to false
  12. send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
  13.  
  14. on load:
  15. loop all players:
  16. send "&7[&6CommandLog&7]&bコマンドログSkriptがロードされました。" to loop-player
  17. if loop-player is an op:
  18. set {cmd.%loop-player%} to true
  19. continue
  20. set {cmd.%loop-player%} to false
  21.  
  22. on command:
  23. sender is player
  24. loop all players:
  25. if {cmd.%loop-player%} is true:
  26. if loop-player's uuid is "3cf44eca-ebfb-485e-ae0d-7d3fb5f742e4":
  27. send "&b%sender%&7 >>>&7 /%complete command%" to loop-player
  28.  
  29. on join:
  30. {cmd.%player%} is not set
  31. if player is an op:
  32. set {cmd.%player%} to true
  33. stop
  34. set {cmd.%player%} to false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement