Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /commandspy [<player>]:
- aliases: /commands, /cspy /cmds
- permission: commandspy.use
- permission message: &e&l(!) あなたにはCommandSpyを使用する権限がありません!
- trigger:
- if arg 1 is set:
- if {cs::%uuid of arg 1%} is set:
- clear {cs::%uuid of arg 1%}
- send "&c&l(!) CommandSpyの機能を無効化させました: %arg 1%."
- send "&c&l(!) あなたのCommandSpy機能は無効化されました。" to arg 1
- else:
- set {cs::%uuid of arg 1%} to true
- send "&a&l(!) あなたのCommandSpy機能は有効化されました。" to arg 1
- send "&a&l(!) CommandSpyの機能を有効化させました: %arg 1%."
- else:
- if {cs::%uuid of player%} is set:
- clear {cs::%uuid of player%}
- send "&c&l(!) あなたのCommandSpyの機能は無効化されました。"
- else:
- set {cs::%uuid of player%} to true
- send "&a&l(!) あなたのCommandSpyの機能は有効化されました。"
- on command:
- if sender is a player:
- loop all players:
- if {cs::%uuid of loop-player%} is set:
- if "%player%" is not "%loop-player%":
- send "&c&l(!) %player% が &n/%complete command%&c&l を実行しました。" to loop-player
- on load:
- set {csversion} to "1.3"
- message "&4&l(!) CommandSpy&7のロードに成功!" to console
- on unload:
- message "&4&l(!) &7CommandSpy&7のアンロードに成功!バイバーイ!" to console
- on quit:
- delete {cs::%uuid of player%}
Advertisement
Add Comment
Please, Sign In to add comment