maozou

Command Log System

Mar 12th, 2019
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. command /css <text> [<text>]:
  2. permission: sk.admin
  3. trigger:
  4. if arg-1 is "on" or "off" or "design" or "help" or "log" or "resetlog":
  5. if arg-1 is "help":
  6. send "&7-----------&e<Command Log System>&7-------------"
  7. send "&7製作者:maozou 参考にさせてもらった方:ClockClap"
  8. send "&e/css on: &aログをオンにします。"
  9. send "&e/css off: &aログをオフにします。"
  10. send "&e/css design <デザイン>: &aログのロゴを変更できます。<--最初に設定してください。"
  11. send "&e/css log: &a今までのログを表示します。"
  12. send "&e/css resetlog: &a今までのログを消します。"
  13. if arg-1 is "on":
  14. set {css.s} to "true"
  15. send "%{cssdesign}% &aコマンドログをオンにしました。"
  16. if arg-1 is "off":
  17. set {css.s} to "false"
  18. send "%{cssdesign}% &aコマンドログをオフにしました。"
  19. if arg-1 is "design":
  20. set {cssdesign} to colored arg-2
  21. send "%{cssdesign}% &aロゴのデザインを%arg-2%にしました。"
  22. if arg-1 is "log":
  23. send "&a-------------&e<Command Logs>&a---------------"
  24. loop {css::*}:
  25.  
  26. send "%loop-value%"
  27. if arg-1 is "resetlog":
  28. set {css::*} to ""
  29. send "%{cssdesign}% &aログを消しました。"
  30. on command:
  31. if sender is a player:
  32. add "&7%now%&e%player%: &7/%full command%" to {css::*}
  33. if {css.s} is "true":
  34. send "&e%{cssdesign}% &7%player% &l>> &7/%full command%" to ops
Advertisement
Add Comment
Please, Sign In to add comment