Advertisement
K2Rk1o

Untitled

Nov 17th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. #--------------------------------------
  2. #COMMAND LOG K2R SKRIPT
  3. #
  4. #
  5. #
  6. #--------------------------------------
  7. options:
  8. cmd: &7&l[&e&lCommand&7&l] &a&l≫≫
  9.  
  10. on command:
  11. loop all players:
  12. if loop-player has permission "sk.admin":
  13. if {logs.%loop-player%} is not set:
  14. set {logs.%loop-player%} to true
  15. if {logs.%loop-player%} is true:
  16. if player is not set:
  17. stop
  18. message " {@cmd} &7%player%: /%full command%" to loop-player
  19. command /cmd [<text>]:
  20. permission: skript.admin
  21. trigger:
  22. if arg-1 is set:
  23. if arg-1 is "on":
  24. set {logs.%player%} to true
  25. message " {@cmd} &7Log表示を&aon&7にしました。"
  26. stop
  27. if arg-1 is "off":
  28. set {logs.%player%} to false
  29. message " {@cmd} &7Log表示を&coff&7にしました。"
  30. stop
  31. else:
  32. message "{@cmd} &7cmd <on,off>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement