Guest User

Untitled

a guest
Dec 8th, 2019
104
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. prefix: &8[CMD]#CommandLOGのPrefixの変更#default: &8[CMD]#
  3. on command:
  4. loop all players:
  5. if loop-player has permission "sk.admin":
  6. if {logs.%loop-player%} is not set:
  7. set {logs.%loop-player%} to true
  8. if {logs.%loop-player%} is true:
  9. if player is not set:
  10. stop
  11. message " {@prefix} &7%player%: /%full command%" to loop-player
  12. command /cmd [<text>]:#Logの表示のON/OFFの切り替え#
  13. permission: skript.admin
  14. trigger:
  15. if arg-1 is set:
  16. if arg-1 is "on":
  17. set {logs.%player%} to true
  18. message " {@prefix}&7Log表示を&aon&7にしました。"
  19. stop
  20. if arg-1 is "off":
  21. set {logs.%player%} to false
  22. message " {@prefix}&7Log表示を&coff&7にしました。"
  23. stop
  24. else:
  25. message "{@prefix}&7/cmd <on,off>"
  26.  
  27. command /ea <text>:
  28. permission: siso
  29. trigger:
  30. evaluate arg 1
RAW Paste Data