Advertisement
maozou

css/ClockClap

Nov 29th, 2018
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. on command:
  2. if sender is a player:
  3. add "&4&l» &6%player%: &7/%full command%" to {csslogs::*}
  4. if {css.css} is "on":
  5. send "&e<css> &7%player%: &7/%full command%" to ops
  6. command /css [<text>]:
  7. permission: sk.css
  8. permission message: &bあなたにはcss権限がありません
  9. trigger:
  10. if arg-1 is "help" or "log" or "clearlog" or "on" or "off":
  11. if arg-1 is "help":
  12. send "&b---------------&e&l[ CSS HELP ]&b---------------"
  13. send "&a&l 作者: ClockClap/改造:maozou&e Page: 1/1"
  14. send "&a- &7help&b... CSSのヘルプを表示します。"
  15. send "&a- &7log&6... 今までのコマンドログをすべて表示します。"
  16. send "&a- &7clearlog&6... コマンドログをクリアします。"
  17. if arg-1 is "log":
  18. if {csslogs::*} is set:
  19. send ""
  20. send "&b---------------&6&l[ CSS LOG ]&b---------------"
  21. loop {csslogs::*}:
  22. send "%loop-value%"
  23. send ""
  24. else:
  25. send "&eコマンドログがありません。"
  26. if arg-1 is "clearlog":
  27. clear {csslogs::*}
  28. send "&e<css> &aコマンドログをクリアしました。"
  29. if arg-1 is "on":
  30. set {css.css} to "on"
  31. send "&e<css> CSSをonにしました。"
  32. if arg-1 is "off":
  33. set {css.css} to "off"
  34. send "&e<css> CSSをoffにしました"
  35. else:
  36. send "&e<css> &c未知のコマンドです。""/css help""でコマンドを確認してください。"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement