Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /cmdlog [<text>]:
- trigger:
- if sender does not have permission "cmdlog.settings":
- send "&cコマンドログの表示/非表示を切り替えるには、権限「&acmdlog.settings&c」が必要です。"
- stop
- if arg 1 is not set:
- send "&c使用法:/cmdlog <on|off>"
- send ""
- send "&bコマンドログの表示/非表示を切り替えます。"
- if {cmdlog.%player%} is true:
- send "&b現在、コマンドログを表示する設定にしています。"
- stop
- send "&e現在、コマンドログを表示しない設定にしています。"
- stop
- if arg 1 is "true" or "on" or "yes" or "enable":
- set {cmdlog.%player%} to true
- send "&bコマンドログを有効化しました。"
- stop
- if arg 1 is "false" or "off" or "no" or "disable":
- send "&eコマンドログを無効化しました。"
- stop
- send "&c使用法:/cmdlog <on|off>"
- send ""
- send "&bコマンドログの表示/非表示を切り替えます。"
- if {cmdlog.%player%} is true:
- send "&b現在、コマンドログを表示する設定にしています。"
- stop
- send "&e現在、コマンドログを表示しない設定にしています。"
- on command:
- sender is a player
- loop all players:
- if {cmdlog.%loop-player%} is not set:
- if loop-player has permission "cmdlog.settings":
- set {cmdlog.%loop-player%} to true
- if name of loop-player is not name of sender:
- if {cmdlog.%loop-player%} is true:
- send "&e%sender%&7>>>&r/%complete command%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment