K2Rk1o

CMD LOG

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