kjfalkeiae

Untitled

May 24th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. command /commandspy [<player>]:
  2. aliases: /commands, /cspy ,/cmds
  3. permission: commandspy.use
  4. permission message: &e&l(!) CommandSpyを利用するにはパーミッション"commandspy.use"が必要です。
  5. usage:&7[&6CommandSpy&7]&a/commandspy [プレイヤー] &7-CommandSpyの機能をトグルさせます。/commands /cspy /cmdsでも可能です。
  6. trigger:
  7. if arg 1 is set:
  8. if {cs::%uuid of arg 1%} is set:
  9. clear {cs::%uuid of arg 1%}
  10. send "&c&l(!) CommandSpyの機能を無効化させました: %arg 1%."
  11. send "&c&l(!) あなたのCommandSpy機能は %player% によって無効化されました。" to arg 1
  12. else:
  13. set {cs::%uuid of arg 1%} to true
  14. send "&a&l(!) あなたのCommandSpy機能は %player% によって有効化されました。" to arg 1
  15. send "&a&l(!) CommandSpyの機能を有効化させました: %arg 1%."
  16. else:
  17. if {cs::%uuid of player%} is set:
  18. clear {cs::%uuid of player%}
  19. send "&c&l(!) あなたのCommandSpyの機能は無効化されました。"
  20. else:
  21. set {cs::%uuid of player%} to true
  22. send "&a&l(!) あなたのCommandSpyの機能は有効化されました。"
  23. on command:
  24. if sender is a player:
  25. loop all players:
  26. if {cs::%uuid of loop-player%} is set:
  27. if "%player%" is not "%loop-player%":
  28. send "&a%player% が &n/%complete command%&c&l を実行しました。" to loop-player
  29. on load:
  30. set {csversion} to "1.3"
  31. message "&4&l(!) CommandSpy&7のロードに成功!" to console
  32. on unload:
  33. message "&4&l(!) &7CommandSpy&7のアンロードに成功!バイバーイ!" to console
  34. on quit:
  35. delete {cs::%uuid of player%}
Add Comment
Please, Sign In to add comment