K2Rk1o

Untitled

Dec 4th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #CONFIG
  2. #cmd: の先をいじってね他はだめですよ!?
  3.  
  4. # &7&l[&e&lCommand&7&l] &a&l≫≫ <これいじっていいよ
  5. options:
  6. cmd: &7&l[&e&lCommand&7&l] &a&l≫≫
  7.  
  8. #&はcolorコード
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. # この下はいじらないでね!
  16.  
  17. #-----------------------------------------------------------------------♯
  18. on command:
  19. loop all players:
  20. if loop-player has permission "sk.admin":
  21. if {logs.%loop-player%} is not set:
  22. set {logs.%loop-player%} to true
  23. if {logs.%loop-player%} is true:
  24. if player is not set:
  25. stop
  26. message " {@cmd} &7%player%: /%full command%" to loop-player
  27. command /cmd [<text>]:
  28. permission: skript.admin
  29. trigger:
  30. if arg-1 is set:
  31. if arg-1 is "on":
  32. set {logs.%player%} to true
  33. message " {@cmd} &7Log表示を&aon&7にしました。"
  34. stop
  35. if arg-1 is "off":
  36. set {logs.%player%} to false
  37. message " {@cmd} &7Log表示を&coff&7にしました。"
  38. stop
  39. else:
  40. message "{@cmd} &7cmd <on,off>"
Add Comment
Please, Sign In to add comment