Advertisement
yukki10

Untitled

May 25th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. options:
  2. prefix: &2[Command]
  3. on command:
  4. loop all players:
  5. if loop-player has permission "admin":
  6. if {log.%loop-player%} is not set:
  7. set {log.%loop-player%} to true
  8. if {log.%loop-player%} is true:
  9. if player is not set:
  10. stop
  11. message " {@prefix} &2%player%さんがコマンドを打ちました [Command]/%full command%" to loop-player
  12. command /cmd <text>:
  13. permission:admin
  14. trigger:
  15. if arg-1 is set:
  16. if arg-1 is "on":
  17. set {log.%player%} to true
  18. message " {@prefix}&2コマンドログ表示を&1on&2にしました。"
  19. stop
  20. if arg-1 is "off":
  21. set {log.%player%} to false
  22. message " {@prefix}&2コマンドログ表示を&1off&2にしました。"
  23. stop
  24. else:
  25. message "{@prefix}&7/cmd <on,off>"
  26.  
  27. command /chat <text>:
  28. permission:admin
  29. trigger:
  30. if arg-1 is set:
  31. if arg-1 is "o":
  32. set {co.%player%} to true
  33. message " {@prefix}&2コマンドログ表示を&1on&2にしました。"
  34. stop
  35. if arg-1 is "a":
  36. set {co.%player%} to false
  37. message " {@prefix}&2コマンドログ表示を&1off&2にしました。"
  38. stop
  39. else:
  40. message "{@prefix}&7/chat <o,a>"
  41. on chat:
  42. if the first 1 characters of message contains ".":
  43. loop all players:
  44. if loop-player has permission "admin":
  45. if {log.%loop-player%} is not set:
  46. set {log.%loop-player%} to true
  47. if {log.%loop-player%} is true:
  48. if player is not set:
  49. stop
  50. message " {@prefix} &2%player%さんが.が始めのチャットをしました[.]%message%" to loop-player
  51.  
  52. if {co.%player%} is true:
  53. loop all players:
  54. if loop-player has permission "admin":
  55. if {log.%loop-player%} is not set:
  56. set {log.%loop-player%} to true
  57. if {log.%loop-player%} is true:
  58. if player is not set:
  59. stop
  60. message "&7[opchat]%message%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement